The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #6 (permalink)  
Old 10-26-2006
venu_nbk venu_nbk is offline
Registered User
  
 

Join Date: Jul 2006
Posts: 33
Quote:
Originally Posted by vgersh99
'sed' is your friend - sed1liners
Code:
sed 's/^.\{54\}/mv/' myFile.txt
vgersh99

I have a doubt in this. If i am inside the file that is
vi myFile.txt.
Then how can I use the command, should I use the sed word?