Last active
December 30, 2015 07:59
-
-
Save itomg/7799604 to your computer and use it in GitHub Desktop.
Show file or directory permission number, like ls -l, used for chmod 644 [file or directory path]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Linux | |
stat -c %a [file or directory path] | |
## Mac OS X | |
stat -f "%Lp" [filename] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment