What are the permissions of a file in unix?
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
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
Comments
Post new comment