Re: 5 Fun Linux Commands You Should Try At Least Once

Liste des GroupesRevenir à col misc 
Sujet : Re: 5 Fun Linux Commands You Should Try At Least Once
De : mh+usenetspam1118 (at) *nospam* zugschl.us (Marc Haber)
Groupes : comp.os.linux.misc
Date : 04. Apr 2025, 14:40:46
Autres entêtes
Organisation : private site, see http://www.zugschlus.de/ for details
Message-ID : <vsongu$14lpj$1@news1.tnib.de>
References : 1 2 3
User-Agent : Forte Agent 6.00/32.1186
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.

I am an old fart myself, and I refrain from using killall since it
does different things on Solaris than on Linux.

Greetings
Marc
--
----------------------------------------------------------------------------
Marc Haber         |   " Questions are the         | Mailadresse im Header
Rhein-Neckar, DE   |     Beginning of Wisdom "     |
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 6224 1600402

Date Sujet#  Auteur
1 Apr23:34 * 5 Fun Linux Commands You Should Try At Least Once14Lawrence D'Oliveiro
2 Apr01:51 `* Re: 5 Fun Linux Commands You Should Try At Least Once13rbowman
3 Apr23:09  `* Re: 5 Fun Linux Commands You Should Try At Least Once12Computer Nerd Kev
4 Apr14:40   +* Re: 5 Fun Linux Commands You Should Try At Least Once9Marc Haber
4 Apr17:27   i+* Re: 5 Fun Linux Commands You Should Try At Least Once6Carlos E.R.
5 Apr14:44   ii`* Re: 5 Fun Linux Commands You Should Try At Least Once5Marc Haber
6 Apr12:00   ii `* Re: 5 Fun Linux Commands You Should Try At Least Once4Carlos E.R.
6 Apr13:11   ii  `* Re: 5 Fun Linux Commands You Should Try At Least Once3Stéphane CARPENTIER
7 Apr08:21   ii   `* Re: 5 Fun Linux Commands You Should Try At Least Once2Marc Haber
7 Apr12:00   ii    `- Re: 5 Fun Linux Commands You Should Try At Least Once1The Natural Philosopher
4 Apr20:36   i`* Re: 5 Fun Linux Commands You Should Try At Least Once2rbowman
5 Apr10:55   i `- Re: 5 Fun Linux Commands You Should Try At Least Once1D
4 Apr20:00   `* Re: 5 Fun Linux Commands You Should Try At Least Once2Lawrence D'Oliveiro
4 Apr21:08    `- Re: 5 Fun Linux Commands You Should Try At Least Once1Carlos E.R.

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal