LPI Exam Questions

Which of the following commands would you use?

You need to print 12 copies of the document foo.txt. Which of the following commands would you
use?

A.
cat foo.txt | lpr -#12

B.
cat foo.txt > lpr -#12

C.
cat foo.txt | lpr -12

D.
cat foo.text > lpr -12

Explanation:
cat command reads the contents of foo.txt and send to print to the default printer twelve copies of
same documents.