mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-11 01:10:31 +00:00
d69a3c8e3a
this would be most useful when dealing with more advanced permission schemes.
6 lines
171 B
Plaintext
6 lines
171 B
Plaintext
# display numerical values for file permissions
|
|
stat -c '%a %n' *
|
|
|
|
# Display only the octal permissions for the given directory. Great for tests.
|
|
stat --format='%a' /boot
|