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