The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 11-21-2007
kaibiganmi kaibiganmi is offline
Registered User
  
 

Join Date: Aug 2007
Posts: 13
Adding multiple line at the end of the file

I have 2 files which contains the following lines

file1.txt

line4
line5
line6

file2.txt
line1
line2
line3

When i execute a script , I want my file2.txt will looks like this:

line1
line2
line3
line4
line5
line6

please help.

Thanks