What are the permissions of a file in unix?

10 Aug
Published by simon

To check the permissions on an existing file, you can use the "stat" command like this:

stat -c "%a %n" fu

Which will give you the full permissions:

-bash-3.00$ stat -c "%a %n" full.pl
755 full.pl

Topics 

Linux