WARNING!!!: The question asks for temporarily breaking Ubuntu. There shall be no safe answers. If you have important services running, important documents/files being edited, please note that you might not be able to recover/save your work. Please note that trying these answers is not recommended unless you know what and why you're doing it, and it is not answerer's (or asker's, FWIW) fault if you break something.
I need a way to make my Ubuntu become unresponsive. No running shutdown scripts, no recovery from hanging state. Just a quick and dirty way for the system to go into derp mode. Recovery should be only via powering off and on again.
Assume three things:
- I am root
- Non-bash solution ( so no fork bombs please, but command-line solution ok)
- filesystem must remain intact
To address dobey's comment:
- derp mode basically means "computer runs, but that's it"
- "What you're actually trying to achieve". I think the title explains it pretty clearly. I want to make the OS unresponsive at will, where it won't be able to do anything. That's exactly what I'm trying to achieve. There's no debugging involved, there's no XY problem. I just need a way for system to lock up/crash/hang up where I can't do anything except hold the power down button.
/
to make their system stop responding until a reboot. – Eliah Kagan Dec 05 '17 at 20:43