nerdexam
LPI

101-400 · Question #264

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

(31 responses)
  • A
    3% (1)
  • B
    81% (25)
  • C
    3% (1)
  • D
    3% (1)
  • E
    10% (3)

Community Discussion

No community discussion yet for this question.

Full 101-400 Practice