Monday, April 29, 2013

[Linux] - How to list linux file/folder permission on numerical value

Tested on Centos and Ubuntu.

stat -c "%a %n" *

Sample output:

777 aircrack-ng-1.1
755 abc.txt
644 root.conf



No comments:

Post a Comment