next up previous contents index
Next: Renaming a File: Up: Displaying the Contents Previous: Displaying the Contents

Combining Files

  

Another function of the cat command is to combine files, or concatenate files with the result stored in another file, e.g.:

 
               		  cat  file.1 file.2 > file.3

Avoid storing the result in one of the original files, as this will cause the original file to be overwritten.



Alan Silverman
Wed Apr 12 16:54:02 METDST 1995