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.
dev.example.com
Needs to replace with
example.com
————————————–
you can use sed with inplace editing
sed -i -e ‘s/dev.example.com/example.com/g’ filename

Free e-Book: Super Affiliate Marketing
So, do affiliate websites make money? Yes – but only if you put in the time, effort, and education needed for them to earn.
Spread the love
Leave a Reply