Linux Commands that should be avoided

Filed Under: Linux on November 21, 2008
ADVERTISEMENTS

I am presenting some of the most fatal command in Linux, that could harm your OS within no time. Please don’t try these on your Linux distribution.

1.  mv /home/yourhomedirectory/* /dev/null

It is a simple command that will move the contents of your “home” directory to a “null” directory (a directory that never existed), hence you will never see that files again.

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

This command will execute a large number of processes until your system hangs. Also known as forkbomb, this command often leads to corruption of data.

3.  mkfs.ext3 /dev/sda

This will simply formats the device that is mentioned after the “mkfs” command.

4.  rm -rf /

And last but not the least, this command will forcefully delete all the files inside the “root” directory.

 

Some of these commands require root access to the system


Tags:
  • TwitThis
  • Facebook
  • Digg
  • del.icio.us
  • StumbleUpon
  • Turn this article into a PDF!
  • Print this article!
  • E-mail this story to a friend!

Comments

Name (required)

Email (required)

Website


© 2009 - 2010 Geekace All Rights Reserved | Content is Copyrighted and must not be reproduced without permission | Privacy Policy | Advertise | Contact |