2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-19 03:25:44 +00:00

Very useful when you need to test for certain permissions. I imagine

this would be most useful when dealing with more advanced permission
schemes.
This commit is contained in:
terminalforlife 2019-11-06 00:36:07 +00:00
parent c12d8e2df2
commit d69a3c8e3a

View File

@ -1,2 +1,5 @@
# display numerical values for file permissions # display numerical values for file permissions
stat -c '%a %n' * stat -c '%a %n' *
# Display only the octal permissions for the given directory. Great for tests.
stat --format='%a' /boot