On many Unix platforms, "which" is a csh script. As such, it can be
pretty useless unless you are a csh user. Korn shell has the builtin
"whence" command...

Kevin

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jos Vos
Sent: Wednesday, March 19, 2008 1:24 PM
To: Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list
Subject: Re: [rhelv5-list] Bash "kill -0" behavior

On Wed, Mar 19, 2008 at 04:17:53PM -0400, Tony Schreiner wrote:

> 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.

Interesting.  Wondering if this behavior of "which" is correct.

-- 
--    Jos Vos <[EMAIL PROTECTED]>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to