Originally posted by joshwilson1
I am looking for a way to take the text out of two fils and put it into one file. Could somebody tell me the command and the syntax associated with doing that? Thanks.
Posted by Crouse
page1.txt >> combined.txthttp://www.bashscripts.org/docs/Bash-Ad ... ction.html
page2.txt >> combined.txt
Has some more info on that.
The single > outputs to a file also, the >> outputs to a single file, and if it exists already APPENDS (adds to) it.Posted by jbsnake
cat file1 file2 >> file3
cat can take more than one file at a time