Can somebody use SED or other linux command to write me a script that will change all the IP address in a file to another IP. For example, if i type...
$ replace httpd.conf 12.34.56.78 99.99.99.99
this will replace all the IP in the file httpd.conf from 12.34.56.78 to 99.99.99.99
and it should leave the rest of the file intact.
Thanks.
755
$ replace httpd.conf 12.34.56.78 99.99.99.99
this will replace all the IP in the file httpd.conf from 12.34.56.78 to 99.99.99.99
and it should leave the rest of the file intact.
Thanks.
755