Skip to content

Instantly share code, notes, and snippets.

Created May 9, 2018
What would you like to do?
Using `sed` to replace string inside a file
sed -i '/old text/ s//new text/g' gigantic_file.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment