How to search and replace text strings in multiple text files using sed

This is how you can automatically search and replace text strings in multiple text files in a single command using sed.

sed -i "s/searched-text/replacement-text/g" text-filename.txt

References, Sources and Credits:
http://www.cyberciti.biz/faq/unix-linux-replace-string-words-in-many-files/






Comments

Popular posts from this blog

How to recalibrate your Samsung Note 4 battery

How to import Tasker projects, profiles, tasks and scenes

How to turn your Windows 7 laptop or dekstop into a WiFi repeater or extender