Stat/Chmod : Get octal file permissions / numerical value (drwxr-xr-x 755 directory,)

Command:

stat -c '%A %a %n' *

Output:

drwxr-xr-x 755 assets
-rw-r--r-- 644 composer.json
-rw-r--r-- 644 composer.lock
drwxr-xr-x 755 sync
drwxr-xr-x 755 vendor
drwxr-xr-x 755 www

Neuen Kommentar schreiben

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Suche

Neueste Kommentare