Question:

The 'chmod:' command is used:

Show Hint

To easily remember the commands:
  • chown = change owner.
  • chgrp = change group.
  • chmod = change mode (access permissions).
Updated On: Jun 18, 2026
  • To change the file owner
  • To change file permissions
  • To change group ownership
  • To print user and group IDs
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation



Step 1: Analyzing Linux File Management Commands:

In Unix/Linux operating systems, file security is managed using owner, group, and other access control permissions.

Step 2: Evaluating the Functions of System Commands:

  • chown: Used to change the file owner (Option A).
  • chgrp: Used to change group ownership (Option C).
  • id: Prints the active user and group IDs (Option D).
  • chmod (Change Mode): Used to modify the access permissions of files or directories (Option B). This command allows the file owner or root user to alter read (r), write (w), and execute (x) permissions using either symbolic (e.g., u+x) or octal (e.g., 755) notation.


Step 3: Conclusion:

The chmod command is designed specifically to change file permissions, making option (B) correct.
Was this answer helpful?
0
0