Which Linux command is used to change the permissions of a file with symbolic notation? MCQ with Answer and Explanation

Which Linux command is used to change the permissions of a file with symbolic notation?
A. chmod u+x file
B. chmod g+w file
C. chmod o-r file
D. All of the above
Answer: Option D
Solution (By JKSSB Mock Tests)
chmod accepts symbolic mode like u+x (add execute for owner), g+w (add write for group), o-r (remove read for others).

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Operating Systems Questions

Question #1
What is the purpose of the Linux 'nano' command?
A. To manage network interfaces
B. To set environment variables
C. A simple text editor
D. To view system processes

Correct Answer: Option C


Explanation:
nano is a user-friendly text editor for the command line, often pre-installed on many Linux distributions.

This question belongs to: Computer Operating Systems
Question #2
In Windows Operating Systems, which system tool is explicitly used to optimize disk space by rearranging fragmented files into contiguous sectors?
A. Disk Defragmenter and Optimize Drives
B. Task Manager
C. Chkdsk
D. Disk Cleanup

Correct Answer: Option A


Explanation:
Disk Defragmenter consolidates fragmented files on a hard drive to improve read/write access speeds and overall system performance.

This question belongs to: Computer Operating Systems
Question #3
Which of the following is a valid Linux file permission value?
A. 700
B. All of the above
C. 755
D. 644

Correct Answer: Option B


Explanation:
755, 644, and 700 are all valid octal permissions for files/directories in Linux.

This question belongs to: Computer Operating Systems