|
I need a quick shell script.
Hi,
Need a quick shell script or sed command that will change the ip address from one ip to another in every zone file in the dir /etc/named.d
Also need a script that will change the ip address from one ip to another in my apache conf file.
I was able to find and replace the ip address in the apache conf file with sed but could not figure out how to make it write the whole file with changes to a new file or save it to the existing file.
If you have a suggestion, please be very specific. I am still fairly new at linux.
Thanks for your help.
|