PrepAway - Latest Free Exam Questions & Answers

What command can be used to print the status of the printer’s queue?

After configuring printing on a Linux server, the administrator sends a test file to one of the printers and it fails to print. What command can be used to print the status of the printer’s queue?

(Provide only the command, without any options or parameters)

PrepAway - Latest Free Exam Questions & Answers

Answer: lpq

Explanation/Reference:
From the man pages:
lpq  shows the current print queue status on the named printer. Jobs queued on the default destination will be shown if no printer or class is specified on the command-line.


Leave a Reply