Another way to lookup at file permissions in different forms in Linux
Instead of:
$ ls -l /etc/hosts
you can use
stat
with options
Get numeric permissions:
$ stat -c %a /etc/hosts 644
Get symbolic permissions:
$ stat -c %A /etc/hosts -rw-r--r--
Which can be useful in scripts