Created
August 20, 2021 21:11
-
-
Save Lecarvalho/d7063dceb47a9e0bea56b33e4fb20cf9 to your computer and use it in GitHub Desktop.
Replace variable on file via bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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