[WBEL-users] Combining text files

Johnny Hughes mailing-lists@hughesjr.com
Wed, 25 Aug 2004 20:07:55 -0500


On Wed, 2004-08-25 at 08:39, fefe@fefe.2y.net wrote:
> Jeff,
> 
> cat <firstfile.txt> >> <2ndfile.txt>
> to append the first file to the end of the 2nd file.
> 
OR:

cat file1 file2 file3 > newfile

will take file1 and add file2 to the end of it ... and add file 3 to the
end of that and write the output to newfile.

> Eric
> 
> 
> On Tue, 24 Aug 2004, Jeff Maze wrote:
> 
> >    I have multiple M$ Windows DNS zone files that I would like to combine
> > into one file.  I'm sure there's a way to do it windows, but I imagine it'd
> > be even easier to do in Linux.
> >
> >    Anyone know how I can accomplish this?
> >
> > Thanks..


Johnny Hughes
HughesJR.com