Skip to content

Instantly share code, notes, and snippets.

@cfeduke
Created June 11, 2013 13:44
Show Gist options
  • Select an option

  • Save cfeduke/5756973 to your computer and use it in GitHub Desktop.

Select an option

Save cfeduke/5756973 to your computer and use it in GitHub Desktop.
bash script home directory
# the directory where the shell script physically resides
SCRIPT_HOME_DIR="$( cd "$( dirname "$0" )" && pwd )"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment