Re: Suggestion: rename "killall" to "fkill", but wait five years to phase the new name in

[ Available lists | Index of freebsd-hackers | Month of Dec 2009 | Week of 22 Dec 2009 | Raw email | View thread | Wrap long lines | Reply ]
From
Ulrich Spörlein <uqs@spoerlein.net>
Date
22 Dec 2009 15:33:28
Subject
Re: Suggestion: rename "killall" to "fkill", but wait five years to phase the new name in
Message-ID
20091222153320.GA36616@acme.spoerlein.net

In reply to

[ Hide this part ]
On Tue, 22.12.2009 at 11:53:36 +0100, Gary Jennejohn wrote:
> On Mon, 21 Dec 2009 23:18:43 -0800
> Xin LI <delphij@gmail.com> wrote:
>
> > On Mon, Dec 21, 2009 at 10:31 PM, Jason A. Spiro <jasonspiro4@gmail.com> wrote:
> > > Craig, and hackers, are you both willing to do this?
> >
> > No.
> >
> > killall is not part of standard, and, just because System V choose to
> > implement that way, does not warrant that FreeBSD has to. Moreover,
> > user can always alias /sbin/killall to 'fkill' and 'kill -15 -1' to
> > 'killall' if they really want the System V behavior.
> >
>
> I'm wondering why we even need killall when pkill seems to have the same
> basic functionality and is located in /bin (and /rescue) rather than /usr/bin?

Seconded,

people should make it a habit to use pkill or for example pgrep instead
of killall or ps|grep. Way more portable anyway :)

Regards,
Uli

Elapsed time: 0.128 seconds