Skip to content

Instantly share code, notes, and snippets.

@stemwinder
Last active December 17, 2015 01:18
Show Gist options
  • Save stemwinder/5526932 to your computer and use it in GitHub Desktop.
Save stemwinder/5526932 to your computer and use it in GitHub Desktop.
find and replace text in files from linux command line
perl -p -i -e 's/<oldword>/<newword>/g' *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment