Deutsch English Français Italiano |
<rrd5clxl36.ln2@Telcontar.valinor> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Carlos E.R." <robin_listas@es.invalid> Newsgroups: comp.os.linux.misc Subject: Re: 5 Fun Linux Commands You Should Try At Least Once Date: Fri, 4 Apr 2025 18:27:07 +0200 Lines: 31 Message-ID: <rrd5clxl36.ln2@Telcontar.valinor> References: <vshpm2$6sd5$2@dont-email.me> <m53g0mFm5q8U2@mid.individual.net> <67ef0717@news.ausics.net> <vsongu$14lpj$1@news1.tnib.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net F/oQHP5XMFUaZmEg+vWg7wGHWqF2biOekUzbAeRVm+Ug8970Wx X-Orig-Path: Telcontar.valinor!not-for-mail Cancel-Lock: sha1:RpPReP4q5CNvwOnYjx9eYHOsuVQ= sha256:dkDK2Nw0jNpUxrbcM4LdtER/DVskPKFF0nAnbQ2MAok= User-Agent: Mozilla Thunderbird Content-Language: es-ES, en-CA In-Reply-To: <vsongu$14lpj$1@news1.tnib.de> Bytes: 1968 On 2025-04-04 15:40, Marc Haber wrote: > not@telling.you.invalid (Computer Nerd Kev) wrote: >> 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 > > Come on, boys, we have the 2020ies, and pgrep and pkill have been > around for two decades now. Care to explain? I've never used them, what's the advantage? > > I am an old fart myself, and I refrain from using killall since it > does different things on Solaris than on Linux. I don't have or do any Solaris. -- Cheers, Carlos.