Home > Linux > Malicious Commands in Linux!

Malicious Commands in Linux!

The commands listed here are Dangerous..Just look it Don’t try it…..

Delete all files: delete current directory, and delete visible files in current directory. It’s quite obvious why these commands can be dangerous to execute.

rm -rf /
rm -rf .
rm -rf *

Reformat: Data on device mentioned after the mkfs command will be destroyed and replaced with a blank filesystem.


Block device manipulation: Causes raw data to be written to a block device. Often times this will clobber the filesystem and cause total loss of data

any_command > /dev/sda
dd if=something of=/dev/sda

Forkbomb: Executes a huge number of processes until system freezes, forcing you to do a hard reset which may cause corruption, data damage, or other awful fates.
In Bourne-ish shells, like Bash:

There are many commands like this…if you a noob to linux and asking help on the internet then malicious people may ask you to execute these commands.. (It’s like your orkut album unlocker :P) so don’t do that beware!

To find out more commands like this

Categories: Linux
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: