Search and replace in the terminal
On Ubuntu it is possible to search and replace a word or phrase with a simple command line sed -i’s/original/new/g’ file.txt Explanation: sed = Stream EDitor -i = in-place (save in the original file) the strings in the command: s = the replacement command original = regular expression for the word to be replaced. new … Read more