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
You can also use the stat command if you want detailed information on a file/directory. (I precise this as you say you are learning ^^)
stat