命令行:
stat -c '%A %a %n' *
用例
[www@fl smarthome]$ stat -c '%A %a %n' *
-rw-rw-r-- 664 auth.php
-rw-rw-r-- 664 fulfillment.php
drwxrwxr-x 775 logs
-rw-rw-r-- 664 token.php
[www@fl2 smarthome]$
来源
命令行:
stat -c '%A %a %n' *
用例
[www@fl smarthome]$ stat -c '%A %a %n' *
-rw-rw-r-- 664 auth.php
-rw-rw-r-- 664 fulfillment.php
drwxrwxr-x 775 logs
-rw-rw-r-- 664 token.php
[www@fl2 smarthome]$
来源