finding things in unix

Dennis Malen dmalen at malen.com
Mon Apr 26 10:57:55 PDT 2010


Yes, your summary and conclusions drawn are correct. Find is the most useful 
as it looks in all directories without providing the proper  PATH.

Dennis Malen
516.479.5912
----- Original Message ----- 
From: "Kenneth Brody" <kenbrody at spamcop.net>
To: "Dennis Malen" <dmalen at malen.com>; "'FilePro Mailing List'" 
<filepro-list at lists.celestial.com>
Sent: Monday, April 26, 2010 12:53 PM
Subject: Re: finding things in unix


> 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