Linux commands that you should never run on your Linux system.

Posted: December 6, 2013. At: 3:46 PM. This was 4 years ago. Post ID: 6675
Page permalink.
WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters. These cookies expire two weeks after they are set.

Bash fork bomb. This will lock up your computer and cause all sorts of problems. Do not run this.

:(){ :|:& };:

The bash fork bomb is an obfuscated version of this code. This will fork() over and over again until the computer locks up.

fork()
{
    fork | fork &
}

Here is another version of this code.

:(){ :&:& };:

Do not run this! The command below is another one that you should not run. This will erase all files on a Linux system.

sudo rm -rf --no-preserve-root /

Here is another nasty command to not run on your system. This one will progressively overwrite your Linux partition with random noise.

sudo cat /dev/urandom > /dev/sda1
1 responses to “Linux commands that you should never run on your Linux system.

Leave a Reply