Which option is used for the recursive functioning of chmod command?

Which option is used for the recursive functioning of chmod command?
A. -R
B. -r
C. -l
D. -i
 
Answer: a
Explanation: Like other UNIX commands, chmod can also descend a directory hierarchy and apply the expression to every file and subdirectories it finds. This is done using -R option. For example,
Code:
chmod -R a+w  dir01
This command will make all files and subdirectories found in the tree walk executable by all users.
 

Tìm kiếm

Back
Top