What would the following command do?

What would the following command do?
$ cat hosts | lpr -#2

What would the following command do?
$ cat hosts | lpr -#2

A.
Print the file hosts on the default printer two times.

B.
Categorize hosts and print the categorization as job #2.

C.
Output the file hosts to the line printer and assign it to the second printer queue.

D.
Print the hosts file to STDOUT and assign the current print job to printer tray number 2.

Explanation:
From the man pages:
lpr – print files
-# copies Sets the number of copies to print from 1 to 100.



Leave a Reply 0

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