Search

Responsive Ads Here

Monday 22 July 2013

5 Deadly Commands for linux

Deadly linux Commands...



↓ Deadliest Commands For Linux That you must know ]]

 


No 1 ----------- is Under


1. rm -rf / = Will Delete Everything:

Explanation:
rm : Removes the files.
-rf : This Command will Run rm and will delete all files and folders without promting you
/ : This command will tell rm to start from root directory ie: all files on your computer including removable Drives.

No 2 ----------- is Under.

  :(){ :|: & };: = This Line Looks Simple but its Dangerous , Bash Function:

It Defines Shell Function that will Create New Copies Of Itself . This Process will Continue and Freeze Your Computer. It Can also be Called as Danial-of-Server Attack.

No 3 ----------- is Under.

 mkfs.ext4 /dev/sda1 = This Command will Format Your Hard drive:

Explanation:
mkfs.ext4 : This part of command will create a new ext4 file system on following device.
/dev/sda1 : This part specifies the 1st partition on the 1st hard drive which is probably in use.

Similarly, This Command > mkfs.ext3 /dev/sdb2 will Format the 2nd partition on the 2nd Hard drive with ext3 File system.

No 4 ----------- is Under.

 command > /dev/sda – This Command will Write Directly to a Hard Drive:

It Runs The command and sends the output of the command directly to Hard drive, writing the data to a Hard drive and Damaging your System.

Explanation:
command : Runs any Command
> : Sends the Output of the command to the following location.
/dev/sda : This command writes the output of the command directly to the hard disk.

No 5 ----------- is Under.

 mv ~ /dev/null – This Command Will Move your Home Directory To Black hole:
Consider /dev/null as Black hole here, moving anything to /dev/null is Gone Forever. Hence mv ~ /dev/null will send all your personal files into black hole.

Explanation:
mv : moving following files to Another location.
~ : This Represents your Entire Home Folder.
/dev/null : moves your home folder , Destroys all your files and deletes the original copy.

No comments:

Post a Comment