I would like to know how to find and replace text in all HTML, htm, PHP and txt extension files on Linux server at hosting provider. I can do SSH.
Text to be found:http://mydomain.example.com
Text to be replaced with:http://otherdomain.example.com/MyDomain
Please give me exact command and it would be much helpful if it can prompt for confirmation before replacement.