Answers for "sed inline replace string"

14

replace text with sed

sed -i 's/old-text/new-text/g' input.txt
Posted by: Guest on March-31-2020
0

sed replace inline file

sed -i 's/STRING_TO_REPLACE/STRING_TO_REPLACE_IT/g' filename
Posted by: Guest on August-18-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language