Thread: Find command
View Single Post

   
  #2 (permalink)  
Old 01-16-2008, 09:59 AM
Oscar del Rio
 
Posts: n/a
Default Re: Find command

SauDoi wrote:
> I wanna find some files in solaris 10. I don't remember full name of
> them so I wanna look for all files which have "abc" (example) in their
> name. How can I do?
>
> I tried this command but it only show me the file name match exactly
> with my pattern
> #find / -name abc -print



find /directory -name '*abc*'

use quotes in '*abc*' and try not to start the search in / but
in specific directories and/or use other options to prevent it
from going into network mounts, special directories, etc
Reply With Quote