Master the CompTIA 220-1102 certification exam with our detailed guide on how to set the default printer in a Linux environment. Learn about the lpoptions and lpadmin commands and more.
Table of Contents
Question
A technician is setting up a printer on a Linux workstation. Which of the following commands should the technician use to set the default printer?
A. lpr
B. lspool
C. lpstat
D. lpoptions
Answer
D. lpoptions
Explanation
The lpoptions command is used to set printer options and defaults. However, it does not directly set the default printer. The lpadmin command is used to set the default printer in a Linux environment.
The lpr command is used to print files, lspool is not a standard Linux command, and lpstat -d is used to display the default print.
CompTIA 220-1102 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the CompTIA 220-1102 exam and earn CompTIA 220-1102 certification.