how to view file permissions in command line code example Example: ls file permissions linux ls –l [file_name] ls –l test.txt