how to check and change permissions of a folder in linux code example Example: ls file permissions linux ls –l [file_name] ls –l test.txt