Created
June 1, 2020 00:42
-
-
Save phnahes/068d3b8ab71f9aedeef19280a6eb7b2e to your computer and use it in GitHub Desktop.
Add script on specific line using 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
awk 'NR==3{print "insert your text here"}1' /etc/config.ini |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment