Tuesday 16 September 2008

Commands To Stay Away From

So if you are new to Linux, and you have a problem, chances are that someone else has had the same problem as you on the internet, and has posted a set of commands on how they resolved it.

However, there are a few idiots out there who will post commands that may be very harmful to your computer. The following commands should not be used.. ever! If you are stupid enough to use one of these commands, then it is your fault.. not mine :)

rm -rf / - This will remove everything, starting at your root directory.
rm -rf . - This will remove everything within the current directory.
rm -rf * - This will remove everything within the current directory.

any_command > /dev/sda
dd if=something of=/dev/sda
- Both of these will cause raw data to be written to a device, and can cause total data loss. Defiantly stay away from this command!

:(){ :|:& };: - Causes your system to crash instantly.


You have been warned!

1 comment:

  1. rm -rf / - eh? so THATS what happened to my other box! just kidding I really like your blog , keep it up.
    sw

    ReplyDelete