finding things in unix
Dennis Malen
dmalen at malen.com
Fri Apr 23 12:06:25 PDT 2010
Yes Don, we always use find. I was just responding to a prior thread that
"type" does not work in AIX. Find has always worked.
Dennis Malen
516.479.5912
----- Original Message -----
From: "Don Bush" <don at caffco.com>
To: "Dennis Malen" <dmalen at malen.com>; "Kenneth Brody"
<kenbrody at spamcop.net>
Cc: <filepro-list at lists.celestial.com>
Sent: Friday, April 23, 2010 1:33 PM
Subject: Re: finding things in unix
> At 12:26 PM 4/23/2010, Dennis Malen wrote:
>>Yes, those all work. But when looking for a specific file it does not
>>unless
>>you are sitting in the directory.
>>
>>Dennis Malen
>>516.479.5912
>>----- Original Message -----
>>From: "Kenneth Brody" <kenbrody at spamcop.net>
>>To: "Dennis Malen" <dmalen at malen.com>
>>Cc: <filepro-list at lists.celestial.com>
>>Sent: Friday, April 23, 2010 11:26 AM
>>Subject: Re: finding things in unix
>>
>>
>> > On 4/23/2010 11:20 AM, Dennis Malen wrote:
>> >> For AIX if you cd to / and type p it works. If I type in a full name
>> >> of
>> >> a file at / it does not work and responds with not found. If I go into
>> >> the directory that it resides in it does work.
>> > [...]
>> >
>> > Can you give some specific examples? The current directory makes no
>> > difference to "type", unless "." is in PATH, and it's not found
>> > elsewhere.
>> >
>> > What about these?
>> >
>> > cd /
>> > type p
>> > cd /tmp
>> > type p
>> > cd /appl/filepro/zipcodes
>> > type p
>> >
>> > --
>> > Kenneth Brody
>>
>>_______________________________________________
>>Filepro-list mailing list
>>Filepro-list at lists.celestial.com
>>http://mailman.celestial.com/mailman/listinfo/filepro-list
>
>
> try this
> cd /
> find ./ -name filename* -print | more
> this will search all directories and list on the screen
> Don
More information about the Filepro-list
mailing list