BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

GAQM Exam LCP-001 Topic 4 Question 63 Discussion

Actual exam question for GAQM's LCP-001 exam
Question #: 63
Topic #: 4
[All LCP-001 Questions]

Which chown command will change the ownership to dave and the group to staff on a file named data.txt?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Cory
6 months ago
I remember reading about this in the manual. The answer is indeed D) chown dave:staff data.txt because the colon separates the owner and group.
upvoted 0 times
...
Herminia
6 months ago
Actually, the correct format is using a colon, not a slash.
upvoted 0 times
...
Thersa
6 months ago
I'm not sure, but I think A) chown dave/staff data.txt might also work.
upvoted 0 times
...
Mirta
7 months ago
I agree with you, That command changes both the owner and group to the specified values.
upvoted 0 times
...
Eleni
7 months ago
I think the answer is D) chown dave:staff data.txt
upvoted 0 times
...
Annabelle
7 months ago
Got it, thanks!
upvoted 0 times
...
Golda
7 months ago
D) chown dave:staff data.txt
upvoted 0 times
...
Annabelle
7 months ago
Which chown command will change the ownership to dave and the group to staff on a file named data.txt?
upvoted 0 times
...

Save Cancel