@[email protected] to Programmer [email protected]English • 11 months agoVery clever...lemmy.mlimagemessage-square294fedilinkarrow-up12.34Karrow-down120file-text
arrow-up12.32Karrow-down1imageVery clever...lemmy.ml@[email protected] to Programmer [email protected]English • 11 months agomessage-square294fedilinkfile-text
minus-square@[email protected]linkfedilink4•edit-211 months agoWhat if SIGTERM not enough? Kill nine times. Like this: killall -9 vim. Congratulations, comrade, you have passed KGB exam.
minus-square@[email protected]linkfedilink8•11 months agoHmm never thought of it like that. Unix programs are actually cats, and sometimes you have to kill all nine of their lives to really end them.
minus-square@[email protected]linkfedilink2•11 months agoYes, one of them literally have name cat, so you can kill all the cats with killall -9 cat
What if SIGTERM not enough? Kill nine times. Like this:
killall -9 vim
. Congratulations, comrade, you have passed KGB exam.Hmm never thought of it like that. Unix programs are actually cats, and sometimes you have to kill all nine of their lives to really end them.
Yes, one of them literally have name cat, so you can kill all the cats with
killall -9 cat