nerdexam
CompTIA

LX0-101 · Question #432

Which of the following would do the same as the command cat < file1.txt > file2.txt?

The correct answer is B. cat file1.txt >file2.txt. See the full explanation below for the reasoning.

Question

Which of the following would do the same as the command cat < file1.txt > file2.txt?

Options

  • Acat < file1.txt file2.txt
  • Bcat file1.txt >file2.txt
  • Ccat <file1.txt | file2.txt
  • Dcat file1.txt | file2.txt
  • Ecp file1.txt>file2.txt

How the community answered

(39 responses)
  • A
    3% (1)
  • B
    72% (28)
  • C
    13% (5)
  • D
    5% (2)
  • E
    8% (3)

Community Discussion

No community discussion yet for this question.

Full LX0-101 Practice