Deadly Linux Commands
In every society there is always the good and the bad. The bad are working day in day out to harm the works of the good. But the the bad always make the good move up higher since the good is will never allow them to catch up.
What I am simple trying to say is there are people who aim to disrupt others, especially newbies and send them in the wrong direction. This then reduces the quest in these newbies for something.
I am going to show a few commands as a newbie or ANYONE should never run. These commands are mostly found in forums where a lot of newbies are seeking for help and other online websites targeted at Linux users.
WARNING: Some of these commands SHOULD NOT be run on a production system. You can try it on an OLD device which is of no importance or in a virtual machine if you are curious.
The command above will format or erase all data from the device named after the mkfs command.
mv ~ /dev/null
This is going to erase everything from your root directory since /dev/null is not a valid directory.
This is known as the fork bomb command. It does not destroy or harm your system. Once you run this, it only freezes the computer and you will have to warm reboot (from the power button). Read more about fork bomb on Wikipedia.
rm -fr /
This is the simplest and well known by most people. It recursively deletes all files from the root.
mv /home/* /dev/null
This moves all the user directories in the home directory to an unknown location /dev/null meaning everything in /home directory is deleted.
mv /home/myhome/* /dev/null
This is just the same as mv /home/* /dev/null but it is limited to the specified user’s home directory. In this case myhome.
chmod -R 777 /
This won’t show any physical effect when run, but for security sake it internally grants read, write and execute rights on every file to every user on that system.
This is just a few deadly commands. I know there will be more out there. Kindly leave yours in the comment box below with a little description of what the command will do.
Like us on Facebook
This week Top Posts
- Top Things To Do After Installing Ubuntu 13.10 'Saucy Salamander' : Ubuntu 13.10 Saucy Salamander will be released on coming October 17th with many new salient featur...0 comments |
- How To Install Netflix In Ubuntu : Hi unixmen readers! How are you? In this article we will teach you how to install the desktop vers...1 comment |
- How To Configure Linux Clients To Authenticate Using OpenLDAP : This is the continuation of our previous tutorial. In our previous tutorial we learned how to instal...0 comments |
- How To Upgrade From Ubuntu 13.04 Raring To Ubuntu 13.10 Saucy Salamander : Ubuntu 13.10 Saucy will be released on October 17th. Hope it will come with lot of improvements and ...0 comments |
- Setup IT And Asset Management System With GLPI On Debian/Ubuntu : GLPI is the Information Resource-Manager with an additional Administration Interface. You can use it...0 comments |
- Install lamp with 1 command in Ubuntu 12.10, 13.04 Raring Ringtail & LinuxMint13 : Updated: 10/09/2012 :LAMP (Linux, Apache, MySQL and PHP) is an open source Web development platform ...0 comments |
- Manage Databases And Hosted Servers Remotely With DbNinja
- Install FrostWire 5.6.9 In Elementary OS ‘Luna’/ Ubuntu / Linux Mint
- Setup IT And Asset Management System With GLPI On Debian/Ubuntu
- How To Configure Linux Clients To Authenticate Using OpenLDAP
- How To Install Netflix In Ubuntu
- cowsay And fortune Combined Together
- How To Show Username On Panel In Ubuntu 13.04/13.10
- Setup DNS Server On openSUSE 13.1
- TeamViewer 9 Final Has Been Released!
- Twelve Vulnerabilities Have Been Fixed In Ubuntu 12.04, Time To Update
This work by unixmen.com is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Copyright © 2008-2013 Unixmen.com .