[CentOS] script

Tue Sep 30 22:08:54 UTC 2008
Chris Geldenhuis <chris.gelden at iafrica.com>

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 at 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