Skip to content

Instantly share code, notes, and snippets.

@potix2
Last active January 18, 2017 07:17
Show Gist options
  • Save potix2/1414670 to your computer and use it in GitHub Desktop.
Save potix2/1414670 to your computer and use it in GitHub Desktop.
get a directory of the current script
echo $(cd $(dirname $0);pwd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment