[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to gain control over the system?



On Tue, Jul 11, 2017 at 03:54:21PM -0500, David Wright wrote:
> $ find ~ -mount -not -group 1000 -exec ls -ld {} \; -o -not -user 1000 -exec ls -ld {} \;

find ~ -mount \( ! -group 1000 -o ! -user 1000 \) -ls

(You could also use DeMorgan's laws to factor out the "!", but this
way seems a little clearer.)


Reply to: