check file permissions in bash code example Example: how to see permissions for file in linux ls –l [file_name]