![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding new line at the end of file | somesh_p | Shell Programming and Scripting | 5 | 11-05-2007 02:47 PM |
| adding a line to a file | andy2000 | Shell Programming and Scripting | 2 | 03-26-2007 05:44 AM |
| Adding a character in the beginning of every line in a .dat file | Cool Coder | Shell Programming and Scripting | 2 | 12-22-2005 03:47 AM |
| adding text to end of each line in a file | cubs0729 | Shell Programming and Scripting | 2 | 11-10-2005 10:02 AM |
| Adding Text To each line of a file | cubs0729 | Shell Programming and Scripting | 4 | 09-08-2005 01:40 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
You can run this through command line
cat file1 >> file2 |
|
#3
|
|||
|
|||
|
thanks a lot
|
|||
| Google The UNIX and Linux Forums |