LPIC-1 Exam 102 v5 (Linux Administrator) — Question 48
Which of the following commands display a list of jobs in the print queue? (Choose two.)
Answer options
- A. cups --list
- B. lprm -l
- C. lpstat
- D. lpr -q
- E. lpq
Correct answer: C, E
Explanation
The correct answers are C and E because 'lpstat' provides information about the current status of the print queue, while 'lpq' specifically lists the jobs queued for printing. Options A, B, and D do not display the print queue jobs; A is inaccurate for this purpose, B is for removing jobs, and D does not provide a list of queued jobs.