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/
Wanted to be geeky but not geeky enough. Wanted to be poetic but too geeky to be that.
sed -i "s/searched-text/replacement-text/g" text-filename.txt
No comments :
Post a Comment
Thank you for visiting Almost a Technocrat. Due to many spam comments, your comment will be moderated.