- ComradeSharkfucker ( @sharkfucker420@lemmy.ml ) 26•8 months ago
Super easy
Sudo rm -rf /*
- Diplomjodler ( @Diplomjodler@feddit.de ) 18•8 months ago
I thought that removes the French language pack?
- Lampadaire_raclette ( @Lampadaire_raclette@jlai.lu ) 9•8 months ago
Oui
- Madeline ( @madeline@lemmy.blahaj.zone ) English5•8 months ago
yeah it probably does
- letsgo ( @letsgo@lemm.ee ) 3•8 months ago
No, that’s rm -fr /*
- verdare [he/him] ( @verdare@beehaw.org ) 5•8 months ago
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.
- I_like_cats ( @I_like_cats@lemmy.one ) 19•8 months ago
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 resist- unalivejoy ( @joyjoy@lemm.ee ) English3•8 months ago
Similarly,
$$
is the current PID,$PPID
is the parent PID. (Bash)- HappyFrog ( @HappyFrog@lemmy.blahaj.zone ) 2•8 months ago
So ‘kill -9 $$’ is just suicide?
- unalivejoy ( @joyjoy@lemm.ee ) English4•8 months ago
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. - joulethief ( @joulethief@compuverse.uk ) 3•8 months ago
You can type
seppuku
for that
- NaibofTabr ( @NaibofTabr@infosec.pub ) English15•8 months ago
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.
- Smorty [she/her] ( @Smorty@lemmy.blahaj.zone ) 5•8 months ago
True, xkill is super easy to use. Who needs a task manager, if you can just click on the program you want to close.
- Zyratoxx ( @zyratoxx@lemm.ee ) 11•8 months ago
KWin has this shortcut (Ctrl + Win + Esc) that turns your cursor into a skull that kills the windows you click on
- navordar ( @nawordar@lemmy.ml ) 3•8 months ago
Does it work on Wayland?
- Zyratoxx ( @zyratoxx@lemm.ee ) 2•8 months ago
It does work for me at least
- lengau ( @lengau@midwest.social ) 2•8 months ago
Yes, in Wayland it’s built into kwin.
- Kühe sind toll ( @cows_are_underrated@feddit.de ) 4•8 months ago
pkill
Or what I prefer:
pkill -f
- dadarobot ( @dadarobot@lemmy.sdf.org ) 3•8 months ago
pkill
- Toes♀ ( @Toes@ani.social ) 1•8 months ago
sudo init 0
- xeger ( @xeger@beehaw.org ) 1•8 months ago
I prefer matricide: sudo kill -9 1
- Smorty [she/her] ( @Smorty@lemmy.blahaj.zone ) 1•8 months ago
Uh, I’m not a cool terminal god, I just know how to use vim, so xkill is my way.
- lengau ( @lengau@midwest.social ) 1•8 months ago
I use the terminal on a daily basis. My job involves writing software for terminals.
Ctrl+Meta+Esc in KDE is still how I kill a misbehaving graphical app.