nerdexam
LPI

102-500 · Question #8

Which of the following commands lists all queued print jobs?

The correct answer is E. lpq. lpq (option E) is correct - the "q" stands for queue, and this command displays the status of the print queue, showing all pending, active, and completed print jobs along with their job IDs and owner. A. lpd - the line printer daemon, a background service that manages printing…

Administrative Tasks

Question

Which of the following commands lists all queued print jobs?

Options

  • Alpd
  • Blpr
  • Clp
  • Dlsq
  • Elpq

How the community answered

(23 responses)
  • A
    9% (2)
  • B
    4% (1)
  • C
    13% (3)
  • E
    74% (17)

Explanation

lpq (option E) is correct - the "q" stands for queue, and this command displays the status of the print queue, showing all pending, active, and completed print jobs along with their job IDs and owner.

  • A. lpd - the line printer daemon, a background service that manages printing; it doesn't list jobs.
  • B. lpr - used to submit a print job, not view the queue.
  • C. lp - also submits print jobs (the System V equivalent of lpr); not for listing.
  • D. lsq - not a standard Unix/Linux print command; it doesn't exist in this context.

Memory tip: Think of lpq as "line printer query" - you're querying what's in the queue, just like ls lists files. The pattern holds: lpr = remove a job's counterpart is lprm, and lpq = query the queue.

Topics

#print queue#lpq command#print jobs#system services

Community Discussion

No community discussion yet for this question.

Full 102-500 Practice