Created
May 3, 2019 16:23
-
-
Save adenosinew/fe0c4c1ca80293a58f07dd76dd6917b9 to your computer and use it in GitHub Desktop.
[Linux Permission] Work with Linux permission #linux #management
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
# For macOS | |
stat -f "%OLp" <file> | |
# For Linux | |
stat --format '%a' <file> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment