Skip to content

Instantly share code, notes, and snippets.

@EricBusch
Last active April 30, 2017 16:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EricBusch/e995b94c28c3a8ed00590334221de729 to your computer and use it in GitHub Desktop.
Save EricBusch/e995b94c28c3a8ed00590334221de729 to your computer and use it in GitHub Desktop.
Find all files or directories in a given directory with specific permissions. [shell]
# Any file or directory
find /home/USERNAME/public_html/ -perm 0777
# Only files
find /home/USERNAME/public_html/ -type f -perm 0666
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment