Comment on Choosing violence
TunaCowboy@lemmy.world 1 year ago
$ sudo kill -9 1
fuck you
$ echo “c” > /proc/sysrq-trigger
☠
Comment on Choosing violence
TunaCowboy@lemmy.world 1 year ago
$ sudo kill -9 1
fuck you
$ echo “c” > /proc/sysrq-trigger
☠
prole@lemmy.blahaj.zone 1 year ago
As someone who’s relatively new to Linux, anyone want to explain what this snippet would do?
Bougie_Birdie@lemmy.blahaj.zone 1 year ago
The
killcommand allows you to specify which type of kill signal you want to send.-9sends signal 9 or SIGKILL, and we’re sending it to pid1.That would force kill systemd, which I just have to assume will send your computer to a crashing halt.
The echo command is writing
“c”to a file at/proc/sysrq-triggerwhich I don’t really know how it works but this suggests you’ll “crash the system without first unmounting file systems or syncing disks attached to the system.”I haven’t installed
fuckso I’m not sure how that works