Concatenate files
suggest changeThis is the primary purpose of cat
.
cat file1 file2 file3 > file_all
cat
can also be used similarly to concatenate files as part of a pipeline, e.g.
cat file1 file2 file3 | grep foo
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents