SLUG Mailing List Archives
Re: [SLUG] file list for owner/group
- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] file list for owner/group
- From: Rick Welykochy <rick@xxxxxxxxxxxxx>
- Date: Mon, 10 Mar 2008 18:46:20 +1100
- User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:184.108.40.206) Gecko/20071128 SeaMonkey/1.1.7
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