Created
January 26, 2019 19:25
-
-
Save cathoderay/523cc2597cde7be0e710c3462bf292e0 to your computer and use it in GitHub Desktop.
Absolute path from within bash script
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
echo "$(cd `dirname $0` && pwd)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment