Permissions and ownership · Question 5 of 12

Which command changes only the group of a file?

1 answer is correct. Easy Created with AI

Show answer

Answer

  • B chgrp

Explanation

chgrp dev file sets the group. chown :dev file does the same. newgrp switches the active group of your own shell.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications