[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



On Wed, Mar 19, 2008 at 2:10 PM, Jos Vos <jos xos nl> wrote:
> On Wed, Mar 19, 2008 at 01:57:32PM -0600, Stephen John Smoogen wrote:
>
>  > [smooge canopus ~]$ which kill
>  > /usr/bin/kill
>  > [smooge canopus ~]$ ls -l /bin/kill /usr/bin/kill
>  > -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 canopus ~]$
>  >
>  > 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 canopus ~]$ type kill
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"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]