101-500 Exam QuestionsBrowse all questions from this exam

101-500 Exam - Question 12


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

Show Answer
Correct Answer: E

The correct command to change the ownership to dave and the group to staff on a file named data.txt is 'chown dave:staff data.txt'. The 'chown' command in Unix-based systems uses a colon ':' to separate the username and group name.

Discussion

7 comments
Sign in to comment
longmax90Option: E
Sep 10, 2020

chown USERNAME:GROUPNAME FILENAME

FantaColaOption: E
Feb 10, 2022

E is correct

techalikOption: E
Dec 2, 2020

E is ok

jeggaOption: E
May 26, 2021

E is correct

MartiFC
Nov 23, 2021

correct!

MartiFCOption: E
Feb 1, 2022

correct!

LazylinuxOption: E
Apr 21, 2022

As per MAX90 comments