To work with something it is also good to know its weaknesses.

So here are some commands which can destroy Linux:

  • deletes everything:
    • rm -rf /
  • destroys boot sector:
    • dd if=/dev/zero of=/dev/sda bs=446 count=1
    • dd if=/dev/random of=/dev/sda
  • fork bomb (bash):
    • :(){ :|: & };:
  • moves everything into “black hole”:
    • mv * /dev/null