Replacing STRING in file with another using linux command line
Oct 17, 2024
We will be using SED tool. Here is
sed -i 's/ORIGINAL_TEXT/TO_REPLACE_TEXT/g' output.txt
We will be using SED tool. Here is
sed -i 's/ORIGINAL_TEXT/TO_REPLACE_TEXT/g' output.txt
Distraction-free reading. No ads.
Organize your knowledge with lists and highlights.
Tell your story. Find your audience.
Read member-only stories
Support writers you read most
Earn money for your writing
Listen to audio narrations
Read offline with the Medium app