Re: Best approach to edit linux configuration file

2013-11-15 Thread Chris Angelico
On Sat, Nov 16, 2013 at 12:05 AM, Himanshu Garg wrote: > I have to setup the DNS server. For this I have to edit the configuration > files. > > For this I have to search if the lines(block of text) already exist in the > file and if not, I have to add them to the file. > > So, I want to know wh

Best approach to edit linux configuration file

2013-11-15 Thread Himanshu Garg
I have to setup the DNS server. For this I have to edit the configuration files. For this I have to search if the lines(block of text) already exist in the file and if not, I have to add them to the file. So, I want to know what is the best way to accomplish this. -- https://mail.python.org/m