Kory@lemmy.ml to linuxmemes@lemmy.world · 7 days agoTerminating a processlemmy.mlimagemessage-square87fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1imageTerminating a processlemmy.mlKory@lemmy.ml to linuxmemes@lemmy.world · 7 days agomessage-square87fedilinkfile-text
minus-squarekekmacska@lemmy.ziplinkfedilinkEnglisharrow-up0·7 days agops aux | grep <process>. kill <pid>
minus-squarehenfredemars@infosec.publinkfedilinkEnglisharrow-up0·7 days agokillall works great for this.
minus-squareBonerMan@ani.sociallinkfedilinkarrow-up0·7 days agoAt that point you can just hard restart as well. Most motherboards accept 10 to 15 seconds of power button as “my OS is fucked please help” and restart the machine for you.
minus-squareWhyJiffie@sh.itjust.workslinkfedilinkEnglisharrow-up0·edit-26 days agokillall just kills all instances of a program, not everything. and also, long pressing the power button should just shut it down, no?
minus-squareRustyNova@lemmy.worldlinkfedilinkarrow-up0·7 days agoThey also accept pulling the power cord out as “oh no” and shutdown for you!
ps aux | grep <process>. kill <pid>
kill -9 $(pidof <process>)
killall
works great for this.At that point you can just hard restart as well. Most motherboards accept 10 to 15 seconds of power button as “my OS is fucked please help” and restart the machine for you.
killall just kills all instances of a program, not everything.
and also, long pressing the power button should just shut it down, no?
They also accept pulling the power cord out as “oh no” and shutdown for you!