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>

Post comment