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:

[EMAIL PROTECTED] ~]$ which kill
/usr/bin/kill
[EMAIL PROTECTED] ~]$ 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*
[EMAIL 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 <[EMAIL 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
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to