Multiple choice general knowledge

what is the command to see the status of any printer?

  1. lpstat -p

  2. lpstat -o

  3. lpstat -s

  4. lpstat -i

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

lpstat -p displays the status of all printers or a specific printer on Unix/Linux systems. The -p flag shows printer status. Other flags like -o (output destinations), -s (status), and -i serve different purposes.