LFCS · Question #463
The correct command to view "verbose" line printer queue information is
The correct answer is A. lpq -l. The lpq -l command is used to display detailed, verbose information about jobs currently in the line printer queue.
Question
Options
- Alpq -l
- Blpq -all
- Clpq --verbose
- Dlpq -a
How the community answered
(20 responses)- A95% (19)
- C5% (1)
Why each option
The `lpq -l` command is used to display detailed, verbose information about jobs currently in the line printer queue.
The `lpq` command queries the printer queue status, and the `-l` option specifically requests a long (verbose) format output, providing more detailed information about each print job.
`lpq -all` is not a recognized or standard option for the `lpq` command to display verbose output.
`lpq --verbose` is not a standard option for `lpq` on most systems to achieve verbose output.
`lpq -a` typically shows the status of all available print queues, not verbose details of individual jobs within a queue.
Concept tested: Checking print queue status verbosely
Source: https://man7.org/linux/man-pages/man1/lpq.1.html
Topics
Community Discussion
No community discussion yet for this question.