XK0-004 · Question #37
Which of the following commands would show the default printer on a Linux system?
The correct answer is B. lpq. 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. lpstat displays status information about the current classes, jobs, and printers. When run with no…
Question
Which of the following commands would show the default printer on a Linux system?
Options
- Alpr
- Blpq
- Clpstat
- Dlspci
How the community answered
(29 responses)- B93% (27)
- C3% (1)
- D3% (1)
Explanation
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. lpstat displays status information about the current classes, jobs, and printers. When run with no arguments, lpstat will list active jobs queued by the current user. If there is no printing job on your printer, lpstat won't show you anything.
Topics
Community Discussion
No community discussion yet for this question.