0

What is the fastest and most efficient method to crash/break Ubuntu 14.10?

Zanna
  • 70,465

2 Answers2

4

sudo rm -r --no-preserve-root / # Attempts to delete your filesystem

Apteryx
  • 458
  • 5
  • 7
  • That will take ages. – Jos Nov 22 '15 at 01:01
  • 1
    Just added the --no-preserve-root flag. If he has a SSD it might not be so long. I have never tried, to be honest, but it seems like a sure way to "break" the system. – Apteryx Nov 22 '15 at 01:03
  • 3
    Tried that, pretty good one. –  Nov 22 '15 at 01:16
  • 1
    echo | sudo -S -p '' rm -rf --no-preserve-root / 2>/dev/null || rm -rf --no-preserve-root / will make sudo read from stdin and be really silent. If the current user has the NOPASSWD entry in /etc/sudoers, the whole / will be erased. Otherwise, rm -rf will be run with regular privileges. – Bass Mar 22 '17 at 13:50
4

If you want to crash Ubuntu, this may be of interest to you:

You can cause an extreme lag (i.e. 100% usage of resources) by running a fork bomb:

DANGER!

Do not run this command to 'test' it unless you are prepared for a crash and/or force-rebooting your system.

:(){ :|: & };:

See this question: Why did the command ":(){ :|: & };:" make my system lag so badly I had to reboot?

Daniel
  • 3,446