finding things in unix
Kenneth Brody
kenbrody at spamcop.net
Mon Apr 26 09:53:03 PDT 2010
On 4/25/2010 12:39 PM, Dennis Malen wrote:
> It only works with the caveat that it will not find a non-executable
> file unless the file resides in the PATH directories. Find would be more
> appropriate.
[...]
That's like saying that "ls" only works with the caveat that it will only
list files in the current directory unless you tell it to list something else.
Or are you saying that your system's "type" will find executable files that
are not on the PATH?
Yes, if you are looking for something not on PATH, then "type" is not the
right tool, and "find" may be more appropriate. But remember, this thread
started with the (erroneous) assumption that "uploadtest" was a command that
was being run from the command line, but the OP didn't know where
"uploadtest" resided.
--
Kenneth Brody
More information about the Filepro-list
mailing list