System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

A question about the find command

hyhyhyhy
Occasional Contributor

A question about the find command

# find ./ -name yzyz -print
./var/cluster/members/member0/spool/cron/crontabs/yzyz
./var/spool/mail/yzyz
find: ./proc/01507 : No such file or directory
find: ./proc/73435 : No such file or directory
find: ./proc/469373 : No such file or directory
find: ./proc/29431 : No such file or directory
find: ./proc/168342 : No such file or directory
find: ./proc/172678 : No such file or directory
find: ./proc/244862 : No such file or directory
find: ./proc/249893 : No such file or directory
find: ./proc/190022 : No such file or directory
find: ./proc/61040 : No such file or directory
find: ./proc/128109 : No such file or directory
./u/yzyz
./transmit/yzyz
"find: ./proc/61040 : No such file or directory",what does it means?
1 REPLY
Mulgund
Frequent Advisor

Re: A question about the find command

Find makes a list of files/dirs to be searched before it begins with the actual search.
By the time it returns to the dir. to search a file, if any of the earlier listed files/dir. is not present, it gives this message.

As you may be knowing /proc maintains a file for every process. I guess so many files in /proc might have exited during the find's execution.