Which commands will print two copies of the file to the…

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

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

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 0

Your email address will not be published. Required fields are marked *