InterviewSolution
Saved Bookmarks
| 1. |
Which option is used for the recursive functioning of chmod command?(a) -R(b) -r(c) -l(d) -iThe question was asked during a job interview.My doubt stems from Changing File Ownership and Permissions topic in division Basic File Attributes of Unix |
|
Answer» CORRECT ANSWER is (a) -R To ELABORATE: 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, |
|