PrepAway - Latest Free Exam Questions & Answers

Jane has two text files, file1 and file2. She wants to append the contents of file2 to the existing contents o

Jane has two text files, file1 and file2. She wants to append the contents of file2 to the existing contents of file1. Choose the command that will achieve this goal.

PrepAway - Latest Free Exam Questions & Answers

A.
cat file1 >> file2

B.
cat file1 file2 > file1

C.
echo file2 >> file1

D.
file1 << file2

E.
>file2 >> file1

F.
cat file2 | file1

G.
cat file2 >> file1


Leave a Reply