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 -
View biddit's List
You are viewing biddit's version of this list.
-
1.
rm -fr /
Probably the simplest way to hose your system. It recursively deletes all files from the root of your filesystem.
Reply | No comments
Other lists with this entry
-
2.
dd if=/dev/zero of=/dev/sda
Copies nothing over the entire contents of your disk.
Reply | No comments
Other lists with this entry
-
3.
ls > /dev/sda
The > 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.
Reply | No comments
Other lists with this entry
-
4.
mv /home/* /dev/null
Moves all the user directories to the great black hole known as /dev/null. (effectively deleting them)
Reply | No comments
Other lists with this entry
Did you know you can EDIT it?
You can also comment on the discussion board for this list.
-
5.
chmod -R 777 /
Grants read, write, and execute rights to every file for every user.
Reply | No comments
Other lists with this entry
-
6.
mkfs /dev/sda
Creates a new filesystem on the target. That is to say that it reformats your hard drive.
Reply | No comments
Other lists with this entry
-
7.
:(){ :|:& };:
This is a forkbomb. It forks processes until your system grinds to a halt.
Reply | No comments
Other lists with this entry


Bookmarks