terminal command to view file permissions code example Example: how to see permissions for file in linux ls –l [file_name]