Displaying an object’s file permission in numerical format, quite useful for referencing numerical permissions for application on another object in the filesystem
1 2 |
root@ip-172-16-0-32:~# stat -c "%a %A %U:%G %n" $(which passwd) 4755 -rwsr-xr-x root:root /usr/bin/passwd |
Leave a Reply