Cyber Monday 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 2 Question 61 Discussion

Actual exam question for GAQM's LCP-001 exam
Question #: 61
Topic #: 2
[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:

Nieves
6 months ago
The colon is usually used to separate user and group, so I feel confident D) chown dave:staff data.txt is the correct answer.
upvoted 0 times
...
Narcisa
6 months ago
I'm not sure, but I think it's either A) chown dave/staff data.txt or D) chown dave:staff data.txt.
upvoted 0 times
...
Stefany
6 months ago
I agree with Nieves, D) chown dave:staff data.txt makes sense.
upvoted 0 times
...
Nieves
7 months ago
I think the answer is D) chown dave:staff data.txt.
upvoted 0 times
...
Farrah
7 months ago
I see your point, Chan, but I think specifying both user and group separately might not work.
upvoted 0 times
...
Chan
7 months ago
I'm not sure, but I think B) chown -u dave -g staff data.txt could also be correct.
upvoted 0 times
...
Hector
7 months ago
I agree with Farrah, using : to specify both user and group makes sense.
upvoted 0 times
...
Farrah
7 months ago
I think the answer is D) chown dave:staff data.txt.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77