3 ms·
Fun read! My next bash exercise will be to try and understand some of these commands, quite a feat! greping the ps output would work with any program, right ? T
by globuous 7y ago
Fun read! My next bash exercise will be to try and understand some of these commands, quite a feat! greping the ps output would work with any program, right ? That was pretty cool. Killing it from emacs was def a good laugh !
They should add the script kiddie way: `sudo rm -rf /` ^^
- inimino 7y agoThat might delete the executable but the process would still be running. Yep, `ps | grep` is a common and useful idiom!
- ktpsns 7y agoIn fact "pkill init" or "kill 0" (each with sudo/root privileges executed) will most likely kill all processes and is some kind of process equivalent to delete all files ;-)
- al_be_back 7y agosafe-rm voids that command ( https://launchpad.net/safe-rm https://launchpad.net/safe-rm )