[PLUG] which_command

Daggett, Steve Steve.Daggett at fiserv.com
Wed Sep 1 16:57:01 PDT 2004


 
Rich wrote:
> 
> On Wed, 1 Sep 2004, Marv wrote:
> > How can I verify after the fact, what produced the output. 
> > Builtin or /bin/echo?
> 
>   I do believe that the shell's built-in commands take 
> precedence. If you want to use the separate executable, 
> specify the full path.

I think Rich has it right.

  If you type "echo --help" you get the built-in echoing the string
"--help".  If you type "/bin/echo --help" you get the gnu help information.


Steve D...





More information about the PLUG mailing list