LFCA · Question #33
What is the function of the chown command in Linux?
The correct answer is A. Change file ownership. The chown command in Linux is specifically used to change the user and/or group ownership of files, directories, or symbolic links.
Question
What is the function of the chown command in Linux?
Options
- AChange file ownership
- BModify file permissions
- CChange user password
- DCheck disk space
How the community answered
(26 responses)- A92% (24)
- C4% (1)
- D4% (1)
Why each option
The `chown` command in Linux is specifically used to change the user and/or group ownership of files, directories, or symbolic links.
The `chown` command (change owner) is specifically designed to modify the owner user and optionally the owner group of a given file or directory in a Linux file system. This allows system administrators to manage access control based on user and group identity.
The `chmod` command is used to modify file permissions, not ownership.
User passwords are changed using commands like `passwd`.
Disk space is checked using commands like `df` or `du`.
Concept tested: Linux file ownership management
Source: https://man7.org/linux/man-pages/man1/chown.1.html
Topics
Community Discussion
No community discussion yet for this question.