Is there a way to get files/directories permissions in number format "0777" instead of "-rw--r--r" format?
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
You can display the octal permissions for a file using the stat command:
Or by using find:
Note that find is recursive, and will print all files in all subdirectories as well. You can use options like |
|||
|
|