LX0-104 · Question #463
The correct command to view "verbose" line printer queue information is
The correct answer is A. lpq -l. To get more detailed or verbose output from the lpq command, which displays the line printer queue status, a specific option is used.
Question
Options
- Alpq -l
- Blpq -all
- Clpq --verbose
- Dlpq -a
How the community answered
(27 responses)- A89% (24)
- B7% (2)
- C4% (1)
Why each option
To get more detailed or verbose output from the `lpq` command, which displays the line printer queue status, a specific option is used.
The `lpq -l` command (lowercase 'L') is used to display a long or verbose listing of the printer queue, providing more detailed information about each print job than the default `lpq` output.
`lpq -all` is not a standard option for `lpq` to provide verbose output.
`lpq --verbose` is not a standard or recognized option for the `lpq` command.
`lpq -a` is typically used to display information about all print queues, not necessarily verbose details for a single queue.
Concept tested: Printer queue status verbose view
Source: https://linux.die.net/man/1/lpq
Topics
Community Discussion
No community discussion yet for this question.