my method actually (its the method I use at work to wipe drives and I posted it to that thread)
e.g. view the contents of the first sector of hard drive device /dev/sda
hexedit and khexedit can also be used to display binary data in this fashion. Combine either one with dd which can dump the contents of your desired part of the hard drive to a file, and you can then view the contents of that file, which will show you what is in that location in diskCode:dd if=/dev/sda count=1 bs=512 | xxd
Dump second sector of /dev/sda to file secondsect, which can then be viewed with hexedit or khexedit to show the contents of that disk sector
The dd commands need to be run as root so preface with sudo if you are using a non root user.Code:dd if=/dev/sda count=1 skip=1 bs=512 >secondsect
Theres a number of other forensic tools in the sleuthkit if you find that the hexeditors don't give you what you expected.