Skip to content

Instantly share code, notes, and snippets.

@Lecarvalho
Created August 20, 2021 21:11
Show Gist options
  • Save Lecarvalho/d7063dceb47a9e0bea56b33e4fb20cf9 to your computer and use it in GitHub Desktop.
Save Lecarvalho/d7063dceb47a9e0bea56b33e4fb20cf9 to your computer and use it in GitHub Desktop.
Replace variable on file via bash
sed -i "s/value-to-replace-on-file/new-value/" file.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment