Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: External Dependencies on Unix Commands

by rbc (Curate)
on Jun 07, 2002 at 21:27 UTC ( [id://172678] : note . print w/replies, xml ) Need Help??


in reply to External Dependencies on Unix Commands

You might want to know about the which command.
  • Comment on Re: External Dependencies on Unix Commands

Replies are listed 'Best First'.
Re: Re: External Dependencies on Unix Commands
by hackdaddy (Hermit) on Jun 07, 2002 at 21:43 UTC
    Thanks for your reply. I am familiar with the 'which' command; however, the file has to be on the path for which to find it.
    NAME which - locate a command; display its pathname or alias SYNOPSIS which [ filename ... ] DESCRIPTION which takes a list of names and looks for the files which would be executed had these names been given as commands. Each argument is expanded if it is aliased, and searched for along the user's path. Both aliases and path are taken from the user's .cshrc file.