martes, 4 de noviembre de 2014

Comandos de la muerte, volumen Primero.

Que no te gasten bromas en los canales de IRC, a todos nos ha pasado, que solicitamos ayuda para un problema concreto, y viene el típico capullo que te hace la putada, Pero bueno, ¿Quien no ha recomendado pulsar ALT+F4? al plasta de turno que no te dejaba en paz cuando usabas en msn, xDDD. Quien la hace, la paga, y nuestra maldad nos pasa factura.

Este artículo no me lo he currado yo, lo he sacado de facebook y el enlace original no lo recomiendo porque os lleva a una web PLAGADA de publicidad agobiante. Enlace original.  Yo copio y pego, que os es más fácil. Vá en inglés, si alguno tiene problemas con este idioma, os recomiendo que se ponga a estudiarlo pero ya si quiere tener facilidad para leer manuales.

Ahí van:

rm -rf/

This is one of the most deadly Linux commands around. The functionality of this command is really simple. It forcefully removes or deletes (rm) all the files and folders recursively (-rf) in the root directory (/) of your Linux machine. Once you delete all the files in the root directory, there is no way that you can boot into your Linux system again, Also be aware that the below command comes in many other forms such as rm -rf * or rm -rf. So always be careful when ever you are executing a command that includes rm.


(){ :|: & };:

This weird looking command doesn’t even look like a command, but it functions like a virus which creates copies of itself endlessly, thus called as Fork Bomb. This shell function quickly hijacks all your system resources like CPU, memory, etc. and will cause a system crash which in turn may result in data loss. So never ever try this command or any other weird-looking commands for that matter.


mv ~ /dev/null

The functionality of this command is really basic and simple. All it does is move (mv) the contents of your home folder (~) into the /dev/null folder. This looks really innocent, but the catch is that there is no folder called “Null,” and it simply means that you are moving all your files and folders into nothingness essentially destroying all the files irrecoverably.


mkfs.ext3 /dev/sda

This command is really a disaster as it formats your entire hard drive and replaces it with the new ext3 file system. Once you execute the command, all your data is lost irrecoverably. So never ever try this command or any other suspicious command that involves your hard drive (sda).


any-command > /dev/sda

This command is much more simple; any command you execute (in the place of “any-command”) will write the output data to your first hard drive replacing all the files and folders. This in turn damages your entire file system. Once you execute this command, you will be unable to boot into your Linux machine and your data may be lost irrecoverably.
Again, don’t ever try any suspicious command that includes your hard drive (sda).


Conclusion

Using the command line is pretty interesting but don’t blindly execute all the commands you find in the internet. A single command is enough to wipe out your whole system. In addition, while some of the commands above require elevated permissions (administrator), they may be disguised in other commands and may trick you into executing them.
So always be careful while you are executing the commands and only trust reputed and trusted sources for your command line requirements. The best way is to educate yourselves on how each command works and think through before executing the command.


Niños, no lo hagais en casa!


No hay comentarios:

Publicar un comentario