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
Revision #1
Created 2022-03-06 16:19:24 UTC by Dino Edwards
Updated 2022-03-06 16:22:10 UTC by Dino Edwards