ls director permissons code example Example 1: show rights inside folder debian $ ls -ld directory Example 2: ls file permissions linux ls –l [file_name] ls –l test.txt