Skip to content

Instantly share code, notes, and snippets.

@alghanmi
Created July 9, 2012 21:30
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 alghanmi/3079098 to your computer and use it in GitHub Desktop.
Save alghanmi/3079098 to your computer and use it in GitHub Desktop.
Recursively find file/directory permissions
ls -lR | awk '{ print $1 }' | grep -v ^\./.* | grep -v ^$ | grep -v ^\.:$ | grep -v total | sort | uniq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment