You have a number of text files and you want to join them into one big file.
Use the cat command to concatenate a number of files into one output file.
For example:
$ cat file1.txt file2.txt file3.txt > full_file.txt |
Discussion
Joining files is the real purpose of the cat command. You can supply as many filenames as you like, and they will all be written to the file you direct to. If you do not redirect the output, then it will just appear in your Terminal window. If they are big files, this might take some time!
See Also
See also Recipe 3.7, where cat is used to display the contents of a file.