I want to copy the contents of five files to one file as is. I tried doing it using cp for each file. But that overwrites the contents copied from the previous file. I also
You need the cat (short for concatenate) command, with shell redirection (>) into your output file
cat
>
cat 1.txt 2.txt 3.txt > 0.txt