Skip to content

Instantly share code, notes, and snippets.

@jmigueldelgado
Last active February 21, 2019 10:07
Show Gist options
  • Save jmigueldelgado/a6bff3a80503234704d37b36d6d91d6f to your computer and use it in GitHub Desktop.
Save jmigueldelgado/a6bff3a80503234704d37b36d6d91d6f to your computer and use it in GitHub Desktop.
replace string in line
sed -i 's/old/new/g' path/to/file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment