TestDisk – CGSecurity

TestDisk – CGSecurity

TestDisk is powerful free data recovery software! It was primarily designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software, certain types of viruses or human error (such as accidentally deleting a Partition Table). Partition table recovery using TestDisk is really easy.

[Linux] Create PDF from man pages







To create a PDF file from man pages, open a terminal and type:

man -t linux_command | ps2pdf - linux_command.pdf

where linux_command is the name of the command you need.

[Linux] Using vi as an hex editor








Using vi as an hex editor « linux instead

So, open a file in vi as usual, hit escape and type:


to switch into hex mode.

And when your done hit escape again and type:

:%!xxd -r

to exit from hex mode.