Vidyalelo
Computer Science · Q657

Linux

Engineering and GATE · Computer Science · question 657

Q657

Create a new file "new.txt" that is a concatenation of "file1.txt" and "file2.txt"

A.
cp file.txt file2.txt new.txt
B.
cat file1.txt file2.txt > new.txt
Answer
C.
mv file[12].txt new.txt
D.
ls file1.txt file2.txt | new.txt

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board