How to get the pathname of the current executable?

Bruce Barnett barnett at crdgw1.crd.ge.com
Wed Feb 14 14:52:59 AEST 1990


>>>			       (someone please tell me
>>>why which(1) reads the .cshrc...)
>>
>>Because which(1) is a csh script.

>The question is: Why does which run without the -f option, which would
>cause it *not* to read .cshrc?

The question is why people post without spending a couple of minutes
reading the script file.

It DOES use the -f option on start-up.
It DOES explicitly source the .cshrc file.

Use the source, Luke!

--
Bruce G. Barnett	<barnett at crd.ge.com>   uunet!crdgw1!barnett



More information about the Comp.unix.questions mailing list