ComradeSharkfucker @lemmy.ml
Super easy
Sudo rm -rf /*
42 0 ReplyDiplomjodler @feddit.de I thought that removes the French language pack?
28 0 ReplyLampadaire_raclette @jlai.lu Oui
11 0 ReplyMadeline @lemmy.blahaj.zone yeah it probably does
8 0 Replyletsgo @lemm.ee No, that's rm -fr /*
5 0 Reply
verdare [he/him] @beehaw.org 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.
5 0 Reply
I_like_cats @lemmy.one 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 resist28 0 ReplySoonaPaana @lemmy.world Also please refresh my memory on how to find the process ID
5 0 ReplyI_like_cats @lemmy.one You can do
ps aux | grep -i <part of process name>
and the PID is in the second column of the output. However for this use case I recommend a process manager like htop or btop
10 0 Replyassaultpotato @sh.itjust.works I use
ps -aux | grep $EXECUTABLE
5 0 ReplyRefurbished Refurbisher @lemmy.sdf.org htop or any process monitor will tell you.
2 0 ReplyKrzd @lemmy.world
top for Ubuntu at least will show you the top processes, I think sorted by averaged CPU usage.
1 0 Replygayhitler420 @lemm.ee Pidof
1 0 Reply
unalivejoy @lemm.ee Similarly,
$$
is the current PID,$PPID
is the parent PID. (Bash)5 0 ReplyHappyFrog @lemmy.blahaj.zone So 'kill -9 $$' is just suicide?
3 0 Reply
AnUnusualRelic @lemmy.world
You probably want to get on the habit of using pkill instead of killall in case you're ever on a different system. You could have a surprise.
4 0 Reply
steventhedev @lemmy.world Uninterruptible sleep makes this harder than it looks
25 0 ReplyDasnap @lemmy.world
Kid named process:
17 0 ReplyViking_Hippie @lemmy.world I remember that kid! She was friends with that boy named Sue, right? Both of them always hanging out with little Bobby tables?
1 0 Reply
NaibofTabr @infosec.pub 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.
17 0 ReplySmorty [she/her] @lemmy.blahaj.zone
True, xkill is super easy to use. Who needs a task manager, if you can just click on the program you want to close.
5 0 Reply
Zyratoxx @lemm.ee
KWin has this shortcut (Ctrl + Win + Esc) that turns your cursor into a skull that kills the windows you click on
13 0 ReplyFGoo @sh.itjust.works
For me its Ctrl+Alt+Esc that does it, Ctrl+Meta+Esc just highlights where my mouse cursor is.
3 0 ReplyZyratoxx @lemm.ee
Could be a distro related difference ^^
2 0 Reply
navordar @lemmy.ml Does it work on Wayland?
3 0 Replylengau @midwest.social Yes, in Wayland it's built into kwin.
3 0 ReplyZyratoxx @lemm.ee
It does work for me at least
2 0 Reply
dadarobot @lemmy.sdf.org
pkill
7 0 ReplyCaboose12000 @lemmy.world pkill
1 0 Reply
NegativeLookBehind @lemmy.world
I usually just scream into my keyboard
5 0 ReplyKühe sind toll @feddit.de
pkill <pID>
Or what I prefer:
pkill -f <process/programm name>
4 0 ReplyLordKitsuna @lemmy.world Just open htop, find the process you wish to kill. Press F9,9,enter.
Done task killed
4 0 ReplyProgrammingSocks @pawb.social ps -e | grep app kill id
4 0 Reply
SuperDuper @lemmy.world 4 0 Reply0x2d @lemmy.ml OP immediately subscribed lol
3 0 Reply
SpunkyMcGoo @lemmy.world at least on GNOME you can just open the system monitor and use it like task manager
2 0 ReplyTHCDenton @lemmy.world
htop is how I usually send signals. TUIs are fun!
2 0 ReplySmorty [she/her] @lemmy.blahaj.zone
Uh, I'm not a cool terminal god, I just know how to use vim, so xkill is my way.
1 0 Replylengau @midwest.social 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.
2 0 Reply
Toes♀ @ani.social
sudo init 0
1 0 Replyxeger @beehaw.org I prefer matricide: sudo kill -9 1
1 0 Reply737 @lemmy.blahaj.zone btop
1 0 Reply