Unix One Liner to Search and Replace a String in Multiple Files

By Ravi Karamsetty | January 13, 2015 |

Below is the unix oneliner to search and replace string in all files with extension .txt: perl -pi -e “s/<search string >/<replace string >/g” *.txt Example to search and replace string – “Cold” with “Hot” in all files with extension .txt: perl -pi -e “s/Cold/Hot/g” *.txt

Read More

Which Mobile Platform Should I Support? - dwaprince - can you give suggestion to list out all files which are replication factor is 3 through a command line

Guide for Installation of WordPress with LAMP on CentOS 7 server - dwaprince - Excellent

Guide for Installation of WordPress with LAMP on CentOS 7 server - dwaprince - Good

TNS SQL .NET Connectivity Issues – Troubleshooting and Diagnosing Tips - dwaprince - Good