Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] file list for owner/group

Alex Samad wrote:

find /path/to/directory -user xxx -group xxx
does that show files that are user xxx AND group xxxx

is it different from
find /path/to/directory -user xxx -o -group xxx


From the man page:

The -and operator is the logical AND operator.
    As it is implied by the juxtaposition of two expressions it does
    not have to be specified.

The -or operator is the logical OR operator.


Rick Welykochy || Praxis Services || Internet Driving Instructor

Anyone who says he won't resign four times, will.
     -- John Kenneth Galbraith