Bootstrap FreeKB - Linux Commands - find files owned by user
Linux Commands - find files owned by user

Updated:   |  Linux Commands articles

The find command with the -user option can be used to return all files and directories owned by a specific user. In this example, all files and directories below /tmp owned by john.doe will be returned.

find /tmp -user john.doe

 

In this example, all files and directories below /tmp not owned by john.doe will be returned.

find /tmp ! -user john.doe



Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 958a27 in the box below so that we can be sure you are a human.