![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help with insert line into file | tarunicon | UNIX for Advanced & Expert Users | 4 | 10-13-2008 10:06 AM |
| Insert a line in a text file | 4scriptmoni | Shell Programming and Scripting | 10 | 08-04-2008 11:17 AM |
| Insert line into file | vinay123 | Shell Programming and Scripting | 3 | 07-01-2008 04:07 AM |
| insert a line in a file | RishiPahuja | Shell Programming and Scripting | 7 | 06-22-2005 04:47 AM |
| Insert a line as the first line into a very huge file | shriek | UNIX for Advanced & Expert Users | 3 | 03-09-2005 01:22 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Quote:
Quote:
Code:
[user@host ~]$ cat lines.txt LineA LineB LineC [user@host ~]$ sed -i '1 i \Line1' lines.txt [user@host ~]$ cat lines.txt Line1 LineA LineB LineC |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|