Skip to content

Instantly share code, notes, and snippets.

@gerep
Created May 9, 2018
Embed
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