Super easy
Sudo rm -rf /*
I thought that removes the French language pack?
Oui
No, that’s rm -fr /*
yeah it probably does
Pedant time: That actually wouldn’t kill any process that’s already loaded in memory and running. Unless the process attempts to access something else from the filesystem and crashes.
It’s easy. Just open up a terminal and type
kill $PID
(Replace the $PID with the process id of the process) if you don’t know the process id you can do
killall process_name
If these don’t work you can add a
-9
to banish them and give them no chance to resistSimilarly,
$$
is the current PID,$PPID
is the parent PID. (Bash)So ‘kill -9 $$’ is just suicide?
With suicide, you have a chance to get your affairs in order.
kill -9 $$
is hiring an assassin to kill you and not tell you when it will happen. It happens suddenly without warning.You can type
seppuku
for that
KWin has this shortcut (Ctrl + Win + Esc) that turns your cursor into a skull that kills the windows you click on
Does it work on Wayland?
It does work for me at least
Yes, in Wayland it’s built into kwin.
xkill (assuming GUI and not headless/remote)
xkill lets you click on any X application, at which point it will close the X server connection. In most cases the client application will self-terminate at the loss of the X connection. It’s wonderfully straightforward.
pkill
Or what I prefer:
pkill -f
pkill