📜  ubuntu check chmod - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:32.945000             🧑  作者: Mango

代码示例1
# To check permission of a file, or directory
# you can use the following command:
ls -l directory

# or
stat directory

# or, if you want to see only the permissions in numeric (octal) format:
stat -c %a directory