What is the fastest and most efficient method to crash/break Ubuntu 14.10?
Asked
Active
Viewed 4,965 times
2 Answers
4
sudo rm -r --no-preserve-root /
# Attempts to delete your filesystem

Apteryx
- 458
- 5
- 7
-
-
1Just 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
-
1
echo | sudo -S -p '' rm -rf --no-preserve-root / 2>/dev/null || rm -rf --no-preserve-root /
will makesudo
read from stdin and be really silent. If the current user has theNOPASSWD
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?