Bird
0
0

What aspect of a file does the chown command modify in Linux?

easy📝 Conceptual Q1 of 15
Linux CLI - File Permissions and Ownership
What aspect of a file does the chown command modify in Linux?
AThe file's size and location on disk
BThe file permissions (read, write, execute)
CThe file's last modification timestamp
DThe user and group ownership of the file
Step-by-Step Solution
Solution:
  1. Step 1: Understand chown purpose

    The chown command is used to change the owner and optionally the group of a file or directory.
  2. Step 2: Differentiate from permissions

    File permissions are changed using chmod, not chown.
  3. Final Answer:

    The user and group ownership of the file -> Option D
  4. Quick Check:

    ls -l shows ownership [OK]
Quick Trick: chown changes ownership, not permissions [OK]
Common Mistakes:
  • Confusing ownership with permissions
  • Thinking chown modifies timestamps
  • Assuming chown changes file size

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes