How can show the number when using ls -l
ie. show 777 if file is rwxrwxrwx.
Thank a lot.
How can show the number when using ls -l
ie. show 777 if file is rwxrwxrwx.
Thank a lot.
i haven't seen anything that would let you do that ... however, check "man ls" and "man chmod" to see if they can give you a hint on how to get what you want to see ... good luck!
We have a FAQ article that links various scripts and programs on this site. One script:
display file mode turns symbolic permissions from ls back to octal
This is one of the few scripts that was a collective effort of several users of this site. The thread is interesting to read and see how it evolved.
thank a lot!