vineetrocks2005
In the zone
I am presenting some of the most fatal command in Linux, that could harm your OS within no time. Please don’t try these on your Linux distribution.
1. mv /home/yourhomedirectory/* /dev/null
It is a simple command that will move the contents of your “home” directory to a “null” directory (a directory that never existed), hence you will never see that files again.
2. ){:&};:
This command will execute a large number of processes until your system hangs. Also known as forkbomb, this command often leads to corruption of data.
3. mkfs.ext3 /dev/sda
This will simply formats the device that is mentioned after the “mkfs” command.
4. rm -rf /
And last but not the least, this command will forcefully delete all the files inside the “root” directory.
Source
1. mv /home/yourhomedirectory/* /dev/null
It is a simple command that will move the contents of your “home” directory to a “null” directory (a directory that never existed), hence you will never see that files again.
2. ){:&};:
This command will execute a large number of processes until your system hangs. Also known as forkbomb, this command often leads to corruption of data.
3. mkfs.ext3 /dev/sda
This will simply formats the device that is mentioned after the “mkfs” command.
4. rm -rf /
And last but not the least, this command will forcefully delete all the files inside the “root” directory.
Source