Show permissions and owner in octal notation
show file permissions as number linux | find chmod value of a file | what permissions does this file have | show owner and group | stat | chmodstat -c '%a %U:%G %n' /var/www/vhosts/example.com/httpdocs/* /var/www/vhosts/example.com/httpdocs/.[!.]*Prints every file and folder with its permissions in octal notation, owner and group, including hidden files such as .htaccess. Easier to compare than the letter form of ls -l, and the number maps directly to chmod.
Note: If there are no hidden files, stat prints a harmless error for the pattern .[!.]*.
Also searched as
- show file permissions as number linux
- find chmod value of a file
- what permissions does this file have
- show owner and group