Multiple choice technology operating systems

What is the command to change the owner of a file?

  1. chmod

  2. tee

  3. chown

  4. chgrp

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

The 'chown' command (change owner) is used to change the owner and/or group of a file. 'chmod' changes permissions, not ownership. 'chgrp' changes only the group. 'tee' reads from standard input and writes to both standard output and files - it's unrelated to ownership changes.