Tech Tips

“755”-style permissions with ‘ls’

After a quick Google search for “ls permissions octal” I found a very handy alias to put in my .bashrc. Not only is it handy to see the OCTAL value of the permissions for each file/dir, it will undoubtedly help you more quickly recognize/interpret the normal ls -al output.

 Example usage:
You can also type (or paste) this slightly different version into terminal:

Leave a Reply

Your email address will not be published.