Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

ubuntu check chmod

# 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
 
PREVIOUS NEXT
Tagged: #ubuntu #check #chmod
ADD COMMENT
Topic
Name
1+2 =