I know that using ls -l \"directory/directory/filename\" tells me the permissions of a file. How do I do the same on a directory?
ls -l \"directory/directory/filename\"
I could obviously use
To check the permission configuration of a file, use the command:
ls –l [file_name]
To check the permission configuration of a directory, use the command:
ls –l [Directory-name]