Author Login
Post Reply
On Mar 19, 2008, at 4:10 PM, Jos Vos wrote:
> 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
Not that I'm advocating tcsh, but which in tcsh is a builtin which
will identify builtins
> echo $SHELL
/bin/tcsh
> which which
which: shell built-in command.
Tony Schreiner
_______________________________________________
rhelv5-list mailing list
rhelv5-list@(protected)
https://www.redhat.com/mailman/listinfo/rhelv5-list