Wednesday, 10 June 2015

5 "Deadly " Linux Commands

5 "Deadly " Linux
Commands

Warning: These commands should NEVER be executed.
They will most likely destroy your system (or ruin a
major part) before you can stop them, however, if you
want to see how they work, you could run them inside a
Virtual Machine...

1⃣. "rm -rf /"

✔ This command basically means "remove all files (even
Read Only files) recursively in the root (top)
directory" (can also be written as "shred -rf /)"

2⃣. ":(){:|:&};:"

✔ This command is known as a 'Fork Bomb'. It operates
by defining a function called ':', which calls itself twice,
once in the foreground and once in the background. It
keeps on executing again and again till the system
freezes. (Source: tecmint.)

3⃣. "'command' > /dev/sda"

✔ This command writes the output of 'command' to the
specified drive. This is considered deadly because it
overwrites any data on the drive.

4⃣. "mkfs.ext3 /dev/sda"

✔ This command is known as a format command. It will
format the specified drive to an ext3 format, wiping
everything on the drive.

5⃣. "dd if=/dev/random of=/dev/sda"

✔ This command writes random data onto the specified
drive, and overwrites any data within that drive.

No comments:

Post a Comment