Skip to content

Instantly share code, notes, and snippets.

@jasperf
Forked from ifnull/gist:5055099
Last active August 29, 2015 14:03
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 jasperf/a38d6d63f7b9c31d7f4a to your computer and use it in GitHub Desktop.
Save jasperf/a38d6d63f7b9c31d7f4a to your computer and use it in GitHub Desktop.
Show the permissions of (current) directory in numeric values like 777 or 755 depending on the setup. This is sometimes easier than looking at the rights with alphabets.
stat -c "%a %n" .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment