Wednesday, August 27, 2008

Malicious Commands!

Okay guys, This is a really quick post (about to go out) regarding malicious commands. I'm posting this because a friend of mine just informed me that a relative of his staying at his house (and total Linux newbie) ran this command after someone told him to:

WARNING: DO NOT RUN THE BELOW COMMAND, IT WILL DESTROY YOUR SYSTEM.

sudo rm -rf /

Now I'm going to quickly explain this command in the hope that it will inform you next time you are doubtful of whether to run 'rm' commands.

'sudo' : Super-User DO, run's a command/program as root (admin).
'rm' : ReMove, removes the specified file or directory.
'-rf' : Recursive Forced, self explanatory.
' / ' : Root, or Top-Level directory.

So basically this command says "forcibly remove everything contained on my computer." nasty huh'?

Sorry for the quick/dirty post, must go, stay safe!

No comments: