---

Translate rwx Permissions into Octal Format in Linux

Sometimes you may find it useful to display the access rights of files or directories in octal form instead of rwx or perhaps you want to display both. Instead of using good old ls -l command, in most modern Linux distributions (if not all) you will find stat, a utility that displays file or filesystem status.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis