\cd ~Does it fry my hardware? Or can I just do another fresh install
Maybe something like
find ./ -type f | xargs md5sum, then avoid the one directory where the executable has a different checksum. Heck, evenfind | lsmight suffice.ctrl-D
i had a school colleague who could write small programs in bytecode, so i think someone who really knows their shit can get out without issues with cat and ls, as long as there isn’t much obfuscation
Combat the minefield with a fork bomb. Ain’t no process surviving this engagement.
I can think of a way out:
Just throw the whole PC away. It’s someone else’s problem now!
How can you prevent users from leaving a directory?
chroot, and override exit with an alias,could work
How can you prevent a shutdown using a power key?
There’s an Emacs command to do that
C-x M-c M-minefieldYou could probably install a handler for the event that’s triggered when the power button is pressed. Most OSes do that and pop up a graceful shutdown options window. Most hardware will have a hard shutdown option when you hold the power button for a few seconds. You would probably have to overwrite the BIOS or something at that level to prevent that way out.
You could also just unplug it.





