3 ms·
often I need to match permissions on something already there, so I'm trying to go "uhhh, its, rwxr-xr-x what does that translate to again?"
by Aloha 5y ago
often I need to match permissions on something already there, so I'm trying to go "uhhh, its, rwxr-xr-x what does that translate to again?"
- ktm5j 5y agoYou can use `stat -c '%a' filename` to get permissions in octal. I have an alias for this in my .bashrc