On Mon, Mar 10, 2008 at 06:46:20PM +1100, Rick Welykochy wrote:
> 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.
>     ^^^^^^^^^^^^^^
yeah could not remember if it was the default, so the question still
stands to the original poster, which did they want
>
> 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
>

-- 
"If you found somebody that had information about an attack on America, you'd 
want to know as best as we can to find out what the facts are."

        - George W. Bush
12/12/2005
Philadelphia, PA

Attachment: signature.asc
Description: Digital signature

-- 
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