Hacker News new | past | comments | ask | show | jobs | submit login

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?"



You can use `stat -c '%a' filename` to get permissions in octal. I have an alias for this in my .bashrc




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: