Linux Terminal Glossary
›
File Viewing & Editing
cat file1 file2 > merged.txt
Category:
File Viewing & Editing
cat file1 file2 > merged.txt
Copy command
Concatenate two files into a new file
Joins two files end-to-end and saves the result to a new file. The > redirects the output to merged.txt.
Looking for more?
Search all 7,657 commands
— works offline, in English or Spanish, and fixes typos.