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
Here is the short answer:
$ ls -ld directory
Here's what it does:
-d, --directory list directory entries instead of contents, and do not dereference symbolic links
You might be interested in manpages. That's where all people in here get their nice answers from.
refer to online man pages