[CentOS] sed a particular line in file

Tom Brown

tom at ng23.net
Fri Apr 9 10:20:03 UTC 2010


I need to change a value in a file, but this line occurs more than once in
this file therefore as i know the line number this value appears on how can
i change that?

I thought i could use sed to change a particular line number but i dont see
that in the man page, i am trying to change a value from line number 6

thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20100409/d3d5f688/attachment.html>


More information about the CentOS mailing list