First page Back Continue Last page Overview

 

find and Logical Operators

 
  • Criteria are ANDed together by default.

  • Can be OR'd or negated with -o and -not

  • Parentheses can be used to determine logic order, but must be escaped in bash.

    • find -user joe -not -group joe
    • find -user joe -o -user jane
    • find -not \( -user joe -o -user jane \)