Sujet : Re: 5 Fun Linux Commands You Should Try At Least Once
De : not (at) *nospam* telling.you.invalid (Computer Nerd Kev)
Groupes : comp.os.linux.miscDate : 03. Apr 2025, 23:09:27
Autres entêtes
Organisation : Ausics - https://newsgroups.ausics.net
Message-ID : <67ef0717@news.ausics.net>
References : 1 2
User-Agent : tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.4.31 (i586))
rbowman <
bowman@montana.com> wrote:
Okay, enough of that... I don't use -9 but killall is handy in small
doses.
I use -KILL instead of -9, but if you've got a program that's gone
nuts and it's ingoring SIGTERM, what else can you do? True you
shouldn't need to use it with intended behaviour like in the
article though.
Another handy signal for killall is -0, which does nothing. It's
handy because you can check whether a process with a certain name
exists or not, eg.
$ killall -q -0 tin && echo "Tin is running"
Tin is running
-- __ __#_ < |\| |< _#