Show file permissions in octal notation

You can use a nice little tool called “stat”, to see the permissions of a file or directory in octan notation, run:

stat --format=%a <file / directory>

Leave a Reply

Your email address will not be published.

*