Skip to content

Instantly share code, notes, and snippets.

@fabriceleal
Created February 3, 2013 21:59
Show Gist options
  • Save fabriceleal/4703859 to your computer and use it in GitHub Desktop.
Save fabriceleal/4703859 to your computer and use it in GitHub Desktop.
Replace text in-file
sed -i 's/old/new/g' file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment