You are not logged in. Please login to comment or vote.




/Technology

Linux commands that will totally fuck you up

A list of Linux commands that will trash your machine. enjoy


This is a forkbomb. It forks processes until your system grinds to a halt.

2015-08-18

:(){ :|:& };:




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.

2015-08-18

ls > /dev/sda




Probably the simplest way to hose your system. It recursively deletes all files from the root of your filesystem.

2015-08-18

rm -fr /




Grants read, write, and execute rights to every file for every user.

2015-08-18

chmod -R 777 /




Creates a new filesystem on the target. That is to say that it reformats your hard drive.

2015-08-18

mkfs /dev/sda




Copies nothing over the entire contents of your disk.

2015-08-18

dd if=/dev/zero of=/dev/sda