Differences
This shows you the differences between two versions of the page.
— | linux:shell_commands:chmod_nummeric [2019/10/31 09:05] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Display numeric permissions using ls ====== | ||
+ | Create an alias for the LS command. | ||
+ | <code bash>ls -l | awk ' | ||
+ | Output should be with the nummeric permissions at the beginning of each row: | ||
+ | <code bash> | ||
+ | adm@lxpssl:/ | ||
+ | total 3 | ||
+ | 755 drwxr-xr-x 2 adm domain users 1024 Mar 22 2016 adm | ||
+ | 755 drwxr-xr-x 2 adm1 | ||
+ | 755 drwxr-xr-x 2 adm2 | ||
+ | adm@lxpssl:/ | ||
+ | </ |