which commans are used to manipulate the ownership of file or directory?
-
chown
-
chgrp
-
both 1 & 2
-
None of the above
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.