Skip to content

Instantly share code, notes, and snippets.

@aboqasem
Created March 18, 2024 04:42
Show Gist options
  • Save aboqasem/357991f776088dd3cb5b38211b4c623a to your computer and use it in GitHub Desktop.
Save aboqasem/357991f776088dd3cb5b38211b4c623a to your computer and use it in GitHub Desktop.
Bash script starter
#!/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