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)- A3% (1)
- B72% (28)
- C13% (5)
- D5% (2)
- E8% (3)
Community Discussion
No community discussion yet for this question.