-
-
Save sidouglas/d8700b704c3da0c6085aebf8e8f2684d to your computer and use it in GitHub Desktop.
Bash/Shell get directory cwd path
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment