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

Yup.

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.

HTH
HAND
rick


--
________________________________________________________________
Rick Welykochy || Praxis Services || Internet Driving Instructor

Anyone who says he won't resign four times, will.
     -- John Kenneth Galbraith
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to