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.
Δ
Enter your email address to subscribe to this blog and receive notifications of new posts by email.
Email Address:
Sign me up!