Java Mailing List Archive

http://www.redhatconfig.com/

Home » Red Hat Enterprise Linux 5 »

Re: [rhelv5-list] Bash "kill -0" behavior

Stephen John Smoogen

2008-03-19

Replies:

Author LoginPost Reply
On Wed, Mar 19, 2008 at 2:10 PM, Jos Vos <jos@(protected):
> On Wed, Mar 19, 2008 at 01:57:32PM -0600, Stephen John Smoogen wrote:
>
> > [smooge@(protected)
> > /usr/bin/kill
> > [smooge@(protected)
> > -rwxr-xr-x 1 root root 11168 Nov 30 15:35 /bin/kill*
> > lrwxrwxrwx 1 root root   14 Dec 3 14:17 /usr/bin/kill -> ../../bin/kill*
> > [smooge@(protected) ~]$
> >
> > I do not see it as a builtin. Is there a
>
> It is. You don't identify builtins with "which". Try "which pwd" ;-).
>
> $ builtin kill
> kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec]
> $ /bin/kill
> usage: kill [ -s signal | -p ] [ -a ] pid ...
>     kill -l [ signal ]
> $ builtin foo
> -bash: builtin: foo: not a shell builtin
>


Duh. Sorry for the misinformation. I got which and type mixed up

[smooge@(protected)
kill is a shell builtin


--
Stephen J Smoogen. -- CSIRT/Linux System Administrator
How far that little candle throws his beams! So shines a good deed
in a naughty world. = Shakespeare. "The Merchant of Venice"

_______________________________________________
rhelv5-list mailing list
rhelv5-list@(protected)
https://www.redhat.com/mailman/listinfo/rhelv5-list
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.