XK0-004 · Question #408
Joe is no longer employed by a company, and Ann is taking over his projects. Several team members work out of the directory, including Ann. The administrator needs to assign ownership of all of…
The correct answer is C. Option C. Using the “chown” command recursively is to combine it with the “find” command in find files matching a given pattern and changing their owners and groups. $ find <path> -name <pattern> -exec chown <user>:<group> {} \;
Question
Joe is no longer employed by a company, and Ann is taking over his projects. Several team members work out of the directory, including Ann. The administrator needs to assign ownership of all of Joe's files in the /projects directory to Ann. Which of the following should the administrator run to accomplish this task?
Exhibit
Options
- AOption A
- BOption B
- COption C
- DOption D
How the community answered
(30 responses)- A3% (1)
- B7% (2)
- C90% (27)
Explanation
Using the “chown” command recursively is to combine it with the “find” command in find files matching a given pattern and changing their owners and groups. $ find <path> -name <pattern> -exec chown <user>:<group> {} ;
Topics
Community Discussion
No community discussion yet for this question.
