AddictiveTips published a quick tutorial about replacing text strings in a file.
Linux: replace text string in file [Guide]
Editing text files on Linux by hand can be tedious. That's why it's good to know how to replace text strings in files using the command line quickly.

Linux: replace text string in file [Guide]