Insert Text on a particular line number (SED)
SED Tricks
Ever needed to create a script which edits a file and places a string on a particular line (iptables etc...), well I came across this sed command which would do just that:
You can even insert text from a file
Labels:
1 Comment
Hide/Show Comments17 Jan, 2011
Anonymous
Pretty good post. I just came upon your blog and wanted to say that I have really enjoyed reading your blog posts. There should be something you like: Coach outlet
Add Comment