Replace text in file using sed in Linux
When it comes to find text we often think of grep or awk. But to replace text in file is really simple with sed.
For example you want to replace “ensemble” to “ensembl”, just
sed -i 's/ensemble/ensembl/g' input.txt
Hope it helps