New Year Sale ! 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 5 Question 80 Discussion

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

Darell
2 months ago
Haha, who names a file 'data.txt' these days? I'd call it 'super_important_file.txt' to make it more exciting.
upvoted 0 times
Steffanie
26 days ago
Yeah, that's correct. 'chown dave:staff data.txt' would change the ownership to dave and the group to staff.
upvoted 0 times
...
Sharee
1 months ago
I think the answer is D) chown dave:staff data.txt
upvoted 0 times
...
Mose
1 months ago
I agree, 'super_important_file.txt' sounds much more interesting!
upvoted 0 times
...
...
Mitzie
2 months ago
I prefer the more explicit options like B or C. They make it clearer what's happening.
upvoted 0 times
...
Delfina
2 months ago
Option D looks good to me. It's a simple and straightforward way to change the ownership.
upvoted 0 times
Carrol
1 months ago
Option D seems like the easiest way to change the ownership.
upvoted 0 times
...
Jeannetta
1 months ago
I would go with option D as well.
upvoted 0 times
...
Joanne
1 months ago
Yes, I agree. It's the most straightforward choice.
upvoted 0 times
...
Floyd
1 months ago
I think option D is the correct one.
upvoted 0 times
...
...
Brice
2 months ago
I agree with Pearline. Using colon to specify both user and group makes sense.
upvoted 0 times
...
Pearline
2 months ago
I think the answer is D) chown dave:staff data.txt.
upvoted 0 times
...

Save Cancel