The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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



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
reading text file line by line MizzGail Shell Programming and Scripting 6 04-14-2008 07:58 AM
sed/awk to insert comment at defined line number homefp Shell Programming and Scripting 8 01-18-2008 04:14 PM
remove single-line comment Icy002 High Level Programming 3 04-09-2006 09:30 AM
Add text to file at a certain line TheCrunge Shell Programming and Scripting 5 04-20-2005 10:22 PM
paging a text file line by line? tomapam UNIX for Dummies Questions & Answers 2 10-07-2002 10:30 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 09-22-2005
orakhan orakhan is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 4
Smile Need to add a comment line in a text file

Hi I need to add a comment line at the begining of a text file. The scenario is given below.

1. The number of servers that needs to be updated is around 80

2. The location of the text file in all the servers are the same including the file name.

3. The comment has to be added at the very begining of the text file

4. I have remote shell (remsh) access to all these servers.


Please let me know how can this be done


Regards

Asad
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:11 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0