LPI
101-500 · 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. You've hit your Sonnet limit · resets Jun 8, 9am (UTC)
Shells and Shell Scripting
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
(33 responses)- B94% (31)
- C3% (1)
- D3% (1)
Explanation
You've hit your Sonnet limit · resets Jun 8, 9am (UTC)
Topics
#I/O Redirection#stdin/stdout#Shell Operators#cat command
Community Discussion
No community discussion yet for this question.