From d69a3c8e3a8f527d096aedb5b2443573928974e3 Mon Sep 17 00:00:00 2001 From: terminalforlife Date: Wed, 6 Nov 2019 00:36:07 +0000 Subject: [PATCH] Very useful when you need to test for certain permissions. I imagine this would be most useful when dealing with more advanced permission schemes. --- sheets/stat | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sheets/stat b/sheets/stat index 13d2dac..2d1fc94 100644 --- a/sheets/stat +++ b/sheets/stat @@ -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