LPI Exam Questions

Which of the following commands will you use to list all local and remote printers attached to your

Which of the following commands will you use to list all local and remote printers attached to your
computer?

A.
lpq

B.
lpstat -d

C.
lpstat -t

D.
lpr

Explanation:

The lpstat -t command lists all local and remote printers attached to your computer.
Answer options D and B are incorrect. The lpr and lpstat -d commands show the status of the
default printer.
Answer option A is incorrect. The lpq command lists all jobs currently printing on the default
printer.