Skip to content

Instantly share code, notes, and snippets.

@dschneider
Last active December 25, 2015 21:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dschneider/7040358 to your computer and use it in GitHub Desktop.
Save dschneider/7040358 to your computer and use it in GitHub Desktop.
Replace value in file with SED
sudo sed -n -i 's/pool\: [0-9]/pool\: '$SIZE'/g' /opt/app/config/database.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment