Skip to content

Instantly share code, notes, and snippets.

@joshle
Created December 20, 2017 03:29
Show Gist options
  • Select an option

  • Save joshle/a5eec2ffe4fe6aef147381ce1eed51fb to your computer and use it in GitHub Desktop.

Select an option

Save joshle/a5eec2ffe4fe6aef147381ce1eed51fb to your computer and use it in GitHub Desktop.
DIR1="`dirname $BASH_SOURCE`"
MYDIR=`readlink -f "$DIR1"`
echo $MYDIR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment