nerdexam
LPI

117-102 · Question #31

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

The correct answer is A. cat foo.txt | lpr -#12. See the full explanation below for the reasoning.

Question

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

Options

  • Acat foo.txt | lpr -#12
  • Bcat foo.txt > lpr -#12
  • Ccat foo.txt | lpr -12
  • Dcat foo.text > lpr -12

How the community answered

(54 responses)
  • A
    80% (43)
  • B
    4% (2)
  • C
    11% (6)
  • D
    6% (3)

Community Discussion

No community discussion yet for this question.

Full 117-102 Practice