LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs > dinakumar12
User Name
Password

Notices


Rate this Entry

How to insert a string at the top of a file using sed

Posted 01-17-2012 at 06:22 AM by dinakumar12
Updated 01-18-2012 at 10:42 AM by dinakumar12

sed -i 1i\string filename
Posted in Uncategorized
Views 407 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 05:35 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration