[PLUG] which_command

Bill Thoen bthoen at gisnet.com
Wed Sep 1 16:50:03 UTC 2004


On Wed, 1 Sep 2004, 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??
> 

If you try:
type echo

it will tell you if the command is builtin or run from a file.

- Bill Thoen






More information about the PLUG mailing list