how to get permissions of a file in linux code example
Example 1: check octet permission ubuntu
stat -c "%a %n" *
Example 2: linux How do you find files that have specific permissions?
$ find -perm mode
Example 3: how to see permissions for file in linux
ls –l [file_name]