sed -i ‘s/old-test/new-text/g’ filename
This replaces the word old-test with the word new-text in the file named filename.
sed -i ‘s/old-test/new-text/g’ filename
This replaces the word old-test with the word new-text in the file named filename.
Have a WordPress.com account? Log in now.