Copy files from one place to another with dd. This is a good way to write an ISO to a USB drive or just to another place.

The dd utility may be used to copy a file from one place to another, this is good to copy a ISO file to a USB thumb drive. This parameter is good for getting feedback about how long a file copy is taking, this is good if it is a big file. bs=4M oflag=direct,dsyncbs=4M oflag=direct,dsync … Read more

Removing and creating files on UNIX/Linux and using the shred command.

The shred command on Linux is the perfect way to remove files securely from your Linux system. With a large amount of iterations, it will ensure that it is very difficult to get the data back. the -u parameter will delete the file after the overwriting process. neo@deusexmachina:~$ shred -n 20 -u gegl-0.2.0.tar.bz2neo@deusexmachina:~$ shred -n … Read more

Some more useful Linux commands for the bash shell.

How to create an ISO image of a DVD or CDR disk easily with the command-line. dd if=/dev/sr0 of=/home/$LOGNAME/mydisk.iso bs=2kdd if=/dev/sr0 of=/home/$LOGNAME/mydisk.iso bs=2k This will rip a copy of the disk to the hard drive. To write this image to a blank DVD disk; use this command. sudo wodim -dev=/dev/sr0 -speed=8 -eject -v mydisk.isosudo wodim … Read more