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.
Fill in your details below or click an icon to log in:
You are commenting using your WordPress.com account. ( Log Out / Change )
You are commenting using your Twitter account. ( Log Out / Change )
You are commenting using your Facebook account. ( Log Out / Change )
Connecting to %s
Notify me of new comments via email.
Notify me of new posts via email.
Δ
Enter your email address to subscribe to this blog and receive notifications of new posts by email.
Email Address:
Sign me up!