Created
May 17, 2017 05:32
-
-
Save jonathanconway/f0dea3afede46624618b84842e4decec to your computer and use it in GitHub Desktop.
Generate an executable bash script
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
#!/bin/bash | |
echo #!/bin/bash > $0 | |
chmod u+x $0 # set permissions so that it's to be executable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment