Bird
0
0

What does the chown command do in Linux?

easy📝 Conceptual Q11 of 15
Linux CLI - File Permissions and Ownership
What does the chown command do in Linux?
ADeletes a file or directory
BChanges the owner of a file or directory
CChanges the permissions of a file or directory
DCopies a file or directory
Step-by-Step Solution
Solution:
  1. Step 1: Understand the purpose of chown

    The chown command is used to change the ownership of files or directories in Linux.
  2. Step 2: Compare with other commands

    Changing permissions is done with chmod, deleting with rm, and copying with cp. So these are not correct.
  3. Final Answer:

    Changes the owner of a file or directory -> Option B
  4. Quick Check:

    chown changes ownership [OK]
Quick Trick: Remember: chown = change owner [OK]
Common Mistakes:
MISTAKES
  • Confusing chown with chmod
  • Thinking chown deletes files
  • Mixing chown with copy commands

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes