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