Created
March 18, 2024 04:42
-
-
Save aboqasem/357991f776088dd3cb5b38211b4c623a to your computer and use it in GitHub Desktop.
Bash script starter
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
#!/usr/bin/env bash | |
# https://gist.github.com/mohanpedala/1e2ff5661761d3abd0385e8223e16425 | |
set -euo pipefail | |
DEBUG=${DEBUG:-} | |
PWD=$(pwd) | |
SCRIPT_DIR=$(dirname "$0") | |
if [ -n "$DEBUG" ]; then | |
set -x | |
fi | |
echo "Hello, World!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment