find /path/to/files -type f -exec sed -i 's/fromString/toString/g' {} \;using perl
find /path/to/files -type f -exec perl -pi -e 's/fromString/toString/g' {} \;find /path/to/files -type f -exec sed -i 's/fromString/toString/g' {} \;find /path/to/files -type f -exec perl -pi -e 's/fromString/toString/g' {} \;
yum -y install heartbeat
useradd: user hacluster exists
error: %pre(heartbeat-2.1.3-3.el5.centos.x86_64) scriptlet failed, exit status 9
error: install: %pre scriptlet failed (2), skipping heartbeat-2.1.3-3.el5.centos