Which of the following commands is used in Linux to change the read, write, and execute permissions of a specific file? MCQ with Answer and Explanation

Which of the following commands is used in Linux to change the read, write, and execute permissions of a specific file?
A. chown
B. mkdir
C. chmod
D. pwd
Answer: Option C
Solution (By JKSSB Mock Tests)
The 'chmod' command stands for 'change mode' and is used to alter access permissions for files and directories in Unix-like systems.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
Which of the following is a Linux command used to manage print queues?
A. lp
B. lpr
C. lpc
D. lpq

Correct Answer: Option A


Explanation:
lp is used to send files to print; lpr is similar; lpq shows queue; lpc controls printers.

This question belongs to: Computer Operating Systems
Question #2
What is the maximum memory addressable by a 32-bit Windows OS?
A. 2 GB
B. 8 GB
C. 16 GB
D. 4 GB

Correct Answer: Option D


Explanation:
A 32-bit OS can address 2^32 bytes = 4 GB of memory, though some is reserved for hardware.

This question belongs to: Computer Operating Systems
Question #3
What is the role of the 'init' process in Linux?
A. It is the first process started by the kernel and parent of all other processes
B. It schedules tasks
C. It manages device drivers
D. It handles user login

Correct Answer: Option A


Explanation:
The init process (PID 1) is the first user-space process and is responsible for starting system services and daemons.

This question belongs to: Computer Operating Systems