PrepAway - Latest Free Exam Questions & Answers

Which commands will print two copies of the file to the default printer?

Which commands will print two copies of the file to the default printer? Choose all that apply.

PrepAway - Latest Free Exam Questions & Answers

A.
cat hosts | lpr -#2

B.
lpr -K2 hosts

C.
lpr -P -count 2 hosts

D.
cat hosts > lpr ; cat hosts > lpr

E.
for 1 in 2 lpr hosts

Explanation:
lpr command is used to send the printing job. If printer is not specified then it will send printing job
to default printer. To specify the printer name should use the -P option.
Example:
lpr -Pprintername -#numberofcopies filename
-# or -K specify the number of copies.


Leave a Reply