The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 11-07-2002
yls177
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
find ../users \( ! -name users -prune \) -name 'e[0-9]*' -o -name 'cnt[0-9]*'


../users -> search in /users.

\( ! -name users -prune \) -> list directories in the level of /users/thislevel.

-name 'e[0-9]*' -> list the single directory level which matches the search criteria

-0 -> the or syntax...

-name 'cnt[0-90*' -> also if matches this.....


is the above understanding correct?