LabSim Linux+ 9.4 – Flashcards
Unlock all answers in this set
Unlock answersquestion
Which of the following commands removes print job 11 from the hp7 printer?
answer
cancel -P hp7 11
question
Your linux system uses the Line Printer Daemon (LPD) to manage print jobs. Which file should you use to edit the LDP configuration?
answer
/etc/lpd.perms
question
You want to config your CUPS from a Web browser. What URL address and port should you enter within the Web browser's address field?
answer
http://localhost:631
question
Which command should you use to print 23 copies of the comparables file on the homeprint printer?
answer
lpr -P homeprint -#23 comparables
question
You want to send the yearend.txt file to the acctg printer. Which command would you use?
answer
lpr -P acctg yearend.txt
question
What information about print jobs does the utility lpq display?
answer
The username of the person who submitted the job / A numerical job ID that can be used to manipulate the job from other utilities
question
What does the lprm command do?
answer
Removes jobs from the line printer print queue
question
Which of the following lines in the /etc/cups/cupsd.conf file will configure CUPS to listen for print jobs sent only from the local system?
answer
Listen localhost:631
question
Which command should you use to create the CUPS root user and password?
answer
lppasswd
question
You have installed and configured a new printer manually. You cannot print to the new printer. What should you do?
answer
1. Use the command /etc/rc.d/init.d/lpd restart to restart the lpd print service 2. Use the command /etc/rc.d/init.d/cups restart to restart the cups print service 3. Use the command service cups restart to restart the cups print service
question
User badams sends two print jobs to the Marketing printer (the default printer). He notices the printer is stalled on the first document, and uses the lprm - command. What will be the result?
answer
Both of his jobs will be deleted.
question
You are using the cupsctl command to configure the /etc/cups/cupsd.conf file. Which cupsctl option will enable the sharing of the locally-connected printer to other computers on the network?
answer
--share-printers
question
Which lpr option should be used to change the page width of the print job?
answer
-w
question
Which command will show the contents of all the print queues on your Linux system?
answer
lpq -a
question
Which of the following commands will remove all files from the print queue?
answer
lpc clean
question
You are configuring the /etc/cups/cupsd.conf file. Which command should you use to prevent remote remote printers from being displayed on the local system?
answer
cupsctl --no-remote-printers