Last active
July 23, 2018 15:59
-
-
Save SteadBytes/ae3d89c0b3c3334cd66a8676191fa670 to your computer and use it in GitHub Desktop.
sed prepend to file
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
# prepend shebang to a script | |
sed -i '1i #!/bin/bash' my-script.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment