Malicious Commands in Ubuntu!

The following commands can cause massive damage to your Ubuntu operating system! Please DO NOT execute any of them, just read and learn!

sudo rm -rf / (This will delete all your files on your system) - Needs administrator rights!

sudo rm -rf . (This will delete the current directory your in) - Needs administrator rights!

sudo rm -rf * (This will delete all the files in the current folder) - Needs administrator rights!

rm -rf * or rm -rf *.* (This will delete all the files in the current folder) - No administrator rights needed!

rm -rf ~ / & (This will destroy your home directory) - No administrator rights needed!

All the below commands will erase your hard drive!

 

sudo mkfs (This will format your hard drive) - Needs administrator rights!

sudo mkfs.ext3 (This will format your hard drive) - Needs administrator rights!

sudo mkfs.bfs (This will format your hard drive) - Needs administrator rights!

sudo mkfs.cramfs (This will format your hard drive) - No administrator rights needed!

sudo mkfs.ext2 (This will format your hard drive) - Needs administrator rights!

sudo mkfs.minix (This will format your hard drive) - Needs administrator rights!

sudo mkfs.msdos (This will format your hard drive) - Needs administrator rights!

sudo mkfs.reiserfs (This will format your hard drive) - Needs administrator rights!

sudo mkfs.vfat (This will format your hard drive) - Needs administrator rights!

The dd command can be very dangerous, especially when you have no idea what it does! Below are some examples, but remember that these can vary often!

 

sudo dd if=/dev/zero of=/dev/hda (VERY DANGEROUS COMMAND! It will zero out the whole primary IDE hard drive) (Needs administrator rights)

sudo dd if=/dev/hda of=/dev/hdb (Needs administrator rights)

sudo dd if=something of=/dev/hda (Needs administrator rights)

 

Read the rest of this entry »

Follow

Get every new post delivered to your Inbox.

Join 27 other followers