How to check permissions of a specific directory?

后端 未结 10 445
无人共我
无人共我 2021-01-29 17:32

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?

I could obviously use

10条回答
  •  醉梦人生
    2021-01-29 18:02

    In addition to the above posts, i'd like to point out that "man ls" will give you a nice manual about the "ls" ( List " command.

    Also, using ls -la myFile will list & show all the facts about that file.

提交回复
热议问题