You work as a Network Administrator for company.com Inc. The company has a Linux-based
network. You want to disable a printer from the network. Which of the following commands will you
use to accomplish the task?
A.
lpq
B.
lprm
C.
lpc
D.
lpr
Explanation:
The lpc command is used to check the status of printers, enable and disable printers, and change
the arrangement of jobs in the print queue.
Answer option D is incorrect. The lpr command sends a job to the queue to be printed.
Answer option A is incorrect. The lpq command views the contents of the print queue.
Answer option B is incorrect. The lprm command removes a job from the print queue.