3 ms·You can use `stat -c '%a' filename` to get permissions in octal. I have an alias for this in my .bashrcby ktm5j 5y agoYou can use `stat -c '%a' filename` to get permissions in octal. I have an alias for this in my .bashrc