Shell/Bash: ubuntu command line replace word in files Example

By

Shell/Bash Example: This is the "ubuntu command line replace word in files" Example. compiled from many sources on the internet by SimpleTutorials.org

ubuntu command line replace word in files

sed -i 's/original/new/g' file.txt

sed replace in file

sed -i 's/foo/bar/g' hello.txt



* Summary: This "ubuntu command line replace word in files" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others