Google+ Followers

Tuesday, 12 November 2013

5 DEADLY LINUX COMMANDS

  • Tuesday, 12 November 2013
  • PRABH KARAN SINGH
  • Share

  • deadly linux command

    5 DEADLY LINUX COMMANDS

    Linux today is well known and well reputed one of the most powerful operating system. Linux user can perform numerous such tasks that a windows or Mac user can’t even imagine.Sometimes Linux can go extreme upto the extent that it can do serious damage to the system. Linux system dont even ask user for confirmation once the command is given and simply performs its task. hardware of your computer within a few seconds. Because of these harmful activities of linux it is recommended to use it only if you are good at giving commands and have in depth  knowledge of linux commands.

    5 Deadly linux commands that can Destroy one’s System



    1. Command > rm -rf / = It will Delete Everything
    Explanation : It is a combination of three keywords.

    First : rm It will remove all the files followed by this command.

    Second  : -rf This will run rm command in more effective way and will remove everything ( all files and folders inside the specified folder )without asking confirmation from the user.

    Third : / This will start removing the data from the root directroy and will delete everything from the computer including the data of removable media.


    2. Command > :(){ :|: & };: = Shell function that gets repliacated.

    This command creates a shell function , which once get initialized starts to create multiple copies of itself.It results in taking quickly all the memory and power of CPU.It makes computer freeze or not responding. This is also known as Denial Of Service Attack.


    3. Command > mkfs.ext4 /dev/sda1 = This command will format the hard disk

    Explanation : This command is again composed of two keywords.
    First  : mkfs.ext4 : This part of command will create a new ext4 file system on following device where this command will get executed.

    Second  : /dev/sda1 ;This part of command specifies the 1st partition on the first hard disk which is probably in use by the user. Similarly, This Command > mkfs.ext3 /dev/sdb2 will Format the second partition on the second hard disk with ext3 File system.


    4. Command > /dev/sda – Write Any content Directly to a Hard Drive.

    Explanation : This command will execute normally as other commands in linux do. But output of this command will directly be sent to the file system (NTFS or FAT ) of the Hard Drive. It will result into damaging the file system of the computer.


    5. Command > mv ~ /dev/null – Beware it Will Move your Home Directory To Black hole.

    Explanation : Moving any of your content and data to following path : /dev/null means you want to destroy it.
    It means /dev/null is a black hole where once anything sent , can not be recovered back.
      


     

    Punjabi Mania

    The Hacker News [ THN ] - World's First Dedicated Security Blog

    Subscribe Me