linux check folder permissions 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
Example 3: how to see permissions for file in linux
ls –l [file_name]