Skip to main content
Deeztek Docs
View All
Search
Shelves
Books
Log in
Info
Content
Get Numeric File/Direc...
Page Revisions
Revision #600 Changes
Get Numeric File/Directory Permissions
Run the following command as root on a file/directory of your choice:
stat -c %a /etc/hosts
You should get the numeric permissions of the file/directory output:
644
Back to top