Skip to content

Instantly share code, notes, and snippets.

@hoangong
Created January 4, 2019 13:21
Show Gist options
  • Save hoangong/81015abc2cc8cd510a12ac6031325f86 to your computer and use it in GitHub Desktop.
Save hoangong/81015abc2cc8cd510a12ac6031325f86 to your computer and use it in GitHub Desktop.
get absoluate current bash folder #bash #current #folder
PWD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment