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
Top CBSE CLASS XII Electronics and hardware Questions