Java Mailing List Archive

http://www.redhatconfig.com/

Home » Red Hat Enterprise Linux 5 »

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

Jos Vos

2008-03-19

Replies:

Author LoginPost Reply
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

--
--   Jos Vos <jos@(protected)>
--   X/OS Experts in Open Systems BV  |  Phone: +31 20 6938364
--   Amsterdam, The Netherlands     |   Fax: +31 20 6948204

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