QuestionQ19Verified/Users and GroupsCopy linkReport a problemAsk AstroTutorSave questionWhich of the following commands changes ownership of file.txt to user dan and group staff?Achown dan/staff file.txtBchown dan:staff file.txtCchown -u dan -g staff file.txtDchown dan -g staff file.txtShow AnswerAnswerExplanationThe chown ownership operand uses owner:group syntax. Specifying dan:staff sets the file’s user owner to dan and its group owner to staff.Learn moreGNU Coreutils: chown invocationShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion