Multiple choice technology programming languages

How to query the printer queue?

  1. Use jobs command

  2. Use print command

  3. Use lpq command

  4. Use lpc command

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The lpq (line printer queue) command displays the current print queue status, showing job IDs, owners, and file sizes. Option A's 'jobs' command is for Unix process management, not printing. Option D's lpc is for printer control by administrators, not querying.