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:
parent
c12d8e2df2
commit
d69a3c8e3a
@ -1,2 +1,5 @@
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user