In Solaris, find
the syntax of the command to search for files with multiple file name formats ?
Example: If I have files like test.log
in my current directory and its sub-directory, sample.out
, Demo.buf
and some other files, how can I write a single find
command to find these 3 files?
this is correct
find \ (-name "test. Log "-o -name" sample.out "-o -name" demo.buf "\) -print
No comments:
Post a Comment