Skip to content

Instantly share code, notes, and snippets.

@tomalrussell
Created July 16, 2013 22:20
Show Gist options
  • Save tomalrussell/6015701 to your computer and use it in GitHub Desktop.
Save tomalrussell/6015701 to your computer and use it in GitHub Desktop.
Find and replace with sed
sed -i 's/foo/bar/g' ~/file_to_change.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment