Say Web Solutions

Display Octal Permissions of a File or Folder in Linux with the 'stat' command

stat Linux linux utilities permissions

In this example, let's inspect the permissions of the authorized_keys file with the ls command:


ls -lah ~/.ssh/authorized_keys 
-rw

Comments