Which of the following commands will you use to accomplish the task?

You work as a Network Administrator for company.com Inc. The company has a Linux-based
network. You are working as a root user on the Linux operating system. You want to rearrange the
order of jobs in a spooling queue according to your requirement. Which of the following commands
will you use to accomplish the task?

You work as a Network Administrator for company.com Inc. The company has a Linux-based
network. You are working as a root user on the Linux operating system. You want to rearrange the
order of jobs in a spooling queue according to your requirement. Which of the following commands
will you use to accomplish the task?

A.
lpq

B.
lpc

C.
lprm

D.
lpr

Explanation:

The lpc command can be used to rearrange jobs awaiting printing, as well as to disable/enable a
printer or queue and find the status of printers.
Answer option D is incorrect. The lpr sends a job to the queue to be printed.
Answer option A is incorrect. The lpq views the contents of the queue.
Answer option C is incorrect. The lprm removes a job from the queue.



Leave a Reply 0

Your email address will not be published. Required fields are marked *