Created
May 29, 2020 15:18
-
-
Save evdokimovm/391c8a051815f44a0e82697d3d375043 to your computer and use it in GitHub Desktop.
Get octal file permissions number
This file contains hidden or 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
# Get octal file permissions number | |
# https://www.cyberciti.biz/faq/get-octal-file-permissions-from-command-line-on-linuxunix/ | |
stat -c '%a' /etc/passwd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment