Most Deadly Linux Commands
Here are some reasons why you should never log in as root unless you have a specific task.
List topic started by
biddit
-
View Consensus List -
Make Your List -
Discuss This List
-
biddit
on 22/11/08This is a forkbomb. It forks processes until your system grinds to a halt. -
chmod -R 777 /
biddit
on 22/11/08Grants read, write, and execute rights to every file for every user. -
dd if=/dev/zero of=/dev/sda
biddit
on 22/11/08Copies nothing over the entire contents of your disk. -
ls > /dev/sda
biddit
on 22/11/08The > redirects raw output, and in this case, to your hard disk, effectively corrupting and destroying the filesystem. 'ls' is used here, but any command can be used. -
mkfs /dev/sda
biddit
on 22/11/08Creates a new filesystem on the target. That is to say that it reformats your hard drive. -
mv /home/* /dev/null
biddit
on 22/11/08Moves all the user directories to the great black hole known as /dev/null. (effectively deleting them) -
rm -fr /
biddit
on 22/11/08Probably the simplest way to hose your system. It recursively deletes all files from the root of your filesystem.
Digg
Twitter
Reddit
Delicious
Technorati
StumbleUpon
Facebook
MySpace
Google
Yahoo
Live Spaces
Mixx

:(){ :|:& };: