Usage:
With files:
$ stat -c "%a %n" ./Documents/test.html
664 ./Documents/Udev.html
With folders:
$ stat -c "%a %n" ./Documents/
755 ./Documents/
Usage:
With files:
$ stat -c "%a %n" ./Documents/test.html
664 ./Documents/Udev.html
With folders:
$ stat -c "%a %n" ./Documents/
755 ./Documents/