see permissions of folder ubuntu code example Example 1: show rights inside folder debian $ ls -ld directory Example 2: how to see permissions for file in linux ls –l [file_name]