I’m having big WordPress SQL dump file on my Ubuntu server which is around 7GB. Since I’m changing domain I need to replace the domain name in the file. I want to know how to do it via command line.
Needs to replace with
you can use sed with inplace editing
sed -i -e ‘s/dev.example.com/example.com/g’ filename