Posted on

Linux LX0-103 Exam 1 samples – Question 81

Which of the following commands changes the ownership of file.txt to the user dan and the group staff?

A. chown dan/staff file.txt
B. chown dan:staff file.txt
C. chown -u dan -g staff file.txt
D. chown dan -g staff file.txt

Correct Answer: B
Section: Devices, Linux Filesystems, Filesystem Hierachy Standard

Leave a Reply

Your email address will not be published. Required fields are marked *