Linux Find Not Owner

In Linux to find files not owned by user using the ‘find’ command we negate with the exclamation mark so rather than:

find . -user jonny

we use:

find . ! -user jonny

Where:

find <dir> ! -user <username>

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>