Jump to content

Recommended Posts

Posted

linux-comandos.jpg?itok=yFY4HEFF

The Linux command console is the brain of the operating system, any of which are based on this Open Source project. It is used in Ubuntu, Linux Mint and all existing distributions, although many people still do not understand how dangerous some of these codes may be. Some of them can even destroy your computer.

Through the Linux commands you can get root access and execute files as a system administrator. It is the known name that you must include if you want to install or uninstall software in the operating system. Superuser blocking is the main safeguard against malware, since it requires entering the password to execute any action on the system.

There are commands that are capable of destroying your Linux computer and have no backtracking. Once you have entered them and pressed the Enter key, the operating system is completely useless and it is necessary to format it, if you can.

Of these commands, some can be described as authentic sequences of self-destruction, and demand to handle them with extreme care.

 1)  wget http: // script -O | sh :

This Linux command downloads a script to your computer and runs it automatically. If the script is malicious, you will have problems. It is not advisable to do it with unknown sources, unless you like the risk a lot. You must enter the URL of the same between wget and -O.

In order to run this code you must have an Internet connection. It will not destroy your computer immediately but if the programmer's malicious script is good, it may end up doing so.

There are numerous websites on the Internet from where you can download truly useful and harmless scripts, such as Greasy Fork. However, others are not so reliable. Be very careful with the web from which you download any executable file to your PC.

2) mv directorio/dev/null

Null, as its name implies, is nothingness. If you move there any folder or directory of your Linux computer, it will be the same as destroying them. It can not be done graphically via the file browser, only via the terminal.

/ Dev / null is the command that moves any directory to this empty space where files are lost forever. In front of the first bar you have to enter the directory you want to destroy preceded by mv.

The closer to the root of the system is the directory you've moved, the worse for you. This means that it contains more files and folders, which have been sent to Null. These files are absolutely unrecoverable after pressing Enter, so think about it.

It is one of those cases where you have to say "do not try it at home".

3) mkfs.ext3 /dev/hda

Do you want to format your hard drive? The best way to do this is to create a bootable USB and do a clean installation of the operating system. Although this method is the easiest and safest, if you want you can do it for the bravas, that is, through the console.

The mkfs.ext3 command uses the ext3 file system to format a location, which you specify. If you point to / dev / hda, the hard disk of your PC, there you will delete all data and files. This command is also commonly used to format USB drives and other USB storage devices.

Needless to say, entering this command in the Linux terminal will leave your hard drive completely clean, and this includes the operating system installed on it. You better have the system installed on an SSD or a partition well safe. If not, you will have to resort to a USB or DVD with some distribution to re-boot your PC.
There are better ways to format your hard drive on Linux, and less dangerous.

4) :(){:|:&};:

It is the command known as fork bomb. What it does is run a process that executes two other processes, which then run another two instead. So in succession until the freezing of the system by resources overload.

The only way out of this endless loop is to force the PC off and on again. Although it does not cause irreparable damage to the system - or should not - it also has no practical utility.

5) rm -rf 

It is the command that is used to delete files in Linux, and comes from the word Remove, which means to erase in English. Although you can also delete files graphically, through the integrated browser, from the terminal is the favorite method of the most fanatical of this OS.

Special care must be taken when running the rm -rf command, as it is one of the most dangerous of Linux. If you enter it lightly, it does not prompt you for confirmation and automatically deletes all the files it finds in its path. You can combine the rm command with other letters and characters to get different results.

It has some variants that selectively erase some files, such as read-only ones, leaving others intact. However, unless you are an experienced user, it is not recommended to enter this code in the console.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.