Mad Unix wrote:
Dear ALL,
I need some help with bash scripting, a script that search the content of multiple files and replace old string ip "10.5.1.10" with the new string ip "127.128.1.10" it will search in specific folder and sub folders
Thanks _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
How about:
find <startdir> -exec sed "s/10.5.1.10/127.128.1.10/" {} ;
ChrisG