Last active
February 15, 2023 11:06
-
-
Save iqfareez/1ee31bd6579306a97b5e0ef90361e2a9 to your computer and use it in GitHub Desktop.
Example running bash script from a URL
This file contains hidden or 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 "Hello, world!" | |
echo "This is a test script." | |
echo "Thanks for running me!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To run
curl -s https://gist.githubusercontent.com/iqfareez/1ee31bd6579306a97b5e0ef90361e2a9/raw/8af49fd3a173ff91b77b67e0d477373b52d27a2e/script.sh | bash
Result