Valid XK0-005 Dumps shared by EduDump.com for Helping Passing XK0-005 Exam! EduDump.com now offer the newest XK0-005 exam dumps, the EduDump.com XK0-005 exam questions have been updated and answers have been corrected get the newest EduDump.com XK0-005 dumps with Test Engine here:
A Linux administrator tries to install Ansible in a Linux environment. One of the steps is to change the owner and the group of the directory /opt/Ansible and its contents. Which of the following commands will accomplish this task?
Correct Answer: B
Comprehensive and Detailed Explanation From Exact Extract: The chown command is used to change the owner and group of files and directories. The -R (recursive) flag ensures that all contents within the directory are also updated. The correct syntax is chown -R owner:group directory. So, chown -R Ansible:Ansible /opt/Ansible will change the owner and group for /opt/Ansible and everything inside it to "Ansible". Other options: * A. groupmod is used to modify group properties, not ownership of directories or files. * C. usermod is for modifying user properties or group memberships. * D. chmod changes permissions, not owner/group. Reference: CompTIA Linux+ Study Guide: Exam XK0-005, Sybex, Chapter 6: "User and Group Management", Section: "Managing File Ownership and Permissions" CompTIA Linux+ XK0-005 Objectives, Domain 1.0: System Management