Multiple choice technology operating systems

which commans are used to manipulate the ownership of file or directory?

  1. chown

  2. chgrp

  3. both 1 & 2

  4. None of the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The chown command changes the user ownership of a file or directory, while chgrp changes the group ownership. Since both commands are used to manipulate different aspects of ownership, "both 1 & 2" is the correct choice. Other options are incorrect because they only account for one command or none.