PrepAway - Latest Free Exam Questions & Answers

Which of the following commands will you use to accomplish the task?

You have recently been appointed as a Network Administrator for Rick International Inc. The
company has a Linux-based network. You have to print an important file named secure.txt
urgently.
You therefore want to know what printers are currently configured on your computer and how you
can connect to them. Which of the following commands will you use to accomplish the task?

PrepAway - Latest Free Exam Questions & Answers

A.
lpstat -p

B.
lpstat -s

C.
lpstat -d

D.
lpr

Explanation:

You will use the lpstat -s command to accomplish the task. The lpstat -s command gives you
information about what printers are configured on your computer and how you can connect to
them.

Answer option A is incorrect. The lpstat -p command is used to list the printers configured on your
computer.
Answer options C and D are incorrect. The lpstat -d and lpr commands are used to list the default
printer on your computer.


Leave a Reply