Deutsch English Français Italiano |
<67ef0717@news.ausics.net> View for Bookmarking (what is this?) Look up another Usenet article |
Message-ID: <67ef0717@news.ausics.net> From: not@telling.you.invalid (Computer Nerd Kev) Subject: Re: 5 Fun Linux Commands You Should Try At Least Once Newsgroups: comp.os.linux.misc References: <vshpm2$6sd5$2@dont-email.me> <m53g0mFm5q8U2@mid.individual.net> User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.4.31 (i586)) NNTP-Posting-Host: news.ausics.net Date: 4 Apr 2025 08:09:27 +1000 Organization: Ausics - https://newsgroups.ausics.net Lines: 19 X-Complaints: abuse@ausics.net Path: ...!news.tomockey.net!news.samoylyk.net!news.bbs.nz!news.ausics.net!not-for-mail Bytes: 1232 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 -- __ __ #_ < |\| |< _#