Which of the following is a Linux command used to manage print queues? MCQ with Answer and Explanation

Which of the following is a Linux command used to manage print queues?
A. lpq
B. lpc
C. lpr
D. lp
Answer: Option D
Solution (By JKSSB Mock Tests)
lp is used to send files to print; lpr is similar; lpq shows queue; lpc controls printers.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
Which command in Windows is used to check the integrity of system files?
A. dism
B. chkdsk
C. sfc /scannow
D. systeminfo

Correct Answer: Option C


Explanation:
System File Checker (sfc /scannow) scans and repairs corrupted system files in Windows.

This question belongs to: Computer Operating Systems
Question #2
In Linux, what does the 'sudo' command do?
A. Changes the user's password
B. Switches the user to root
C. Allows a user to execute commands with superuser privileges
D. Shuts down the system

Correct Answer: Option C


Explanation:
sudo (superuser do) permits authorized users to run commands as the superuser or another user.

This question belongs to: Computer Operating Systems
Question #3
Which of the following commands is used in Linux to copy files or directories from one location to another?
A. rm
B. mv
C. ln
D. cp

Correct Answer: Option D


Explanation:
The 'cp' command is used in Unix-like systems to copy files or entire directory trees from a source path to a destination path.

This question belongs to: Computer Operating Systems