[PLUG] which_command

Colin Kuskie ckuskie at dalsemi.com
Wed Sep 1 15:51:01 UTC 2004


On Wed, Sep 01, 2004 at 03:44:38PM -0700, Marv wrote:
> On Wed, 2004-09-01 at 15:14, Rich Shepard wrote:
> > On Wed, 1 Sep 2004, Marv wrote:
> > 
> > > How can I verify after the fact, what produced the output. Builtin or
> > > /bin/echo?
> > 
> > Marv,
> > 
> >   I do believe that the shell's built-in commands take precedence. If you
> > want to use the separate executable, specify the full path.
> > 
> > Rich
> 
> Agree.... Unless for some reason builtin is broke.
> 
> How would I know??

In tcsh, you can say:


which command

and it will tell you what it is using.

If you say:

where command

then it will list all possible commands as determined by the search path.

Colin




More information about the PLUG mailing list