cat - concatenate and print files
Concatenate, or cat, is one of the most frequently used Linux and Unix-like system commands. It lists, combines, and writes file content to the standard output. To run the cat command, type cat followed by the file name.
$ cat filename.txt
1. To create a new file, type as listed below:
$ cat > filename.txt
2. The following command will merge filename1.txt AND filename2.txt and will save the output in filename3.txt
$ cat filename1.txt filename2.txt > filename3.txt