Answers for "linux replace text inside file"

14

linux replace string in all files

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

replace word in file linux command

sed -i 's_oldword_replaceword_gI' document_name.txt
Posted by: Guest on February-16-2021

Code answers related to "linux replace text inside file"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language