Skip to content

Instantly share code, notes, and snippets.

@haani-niyaz
Created August 17, 2016 06:06
Show Gist options
  • Save haani-niyaz/94a9647ca241e68ce639fbc27b784164 to your computer and use it in GitHub Desktop.
Save haani-niyaz/94a9647ca241e68ce639fbc27b784164 to your computer and use it in GitHub Desktop.
Search and replace string in file
sudo sed -i "s/^tenant.amount=1500/tenant.amount=2100/g" /opt/web/config.properties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment