Last active
August 11, 2020 10:17
-
-
Save lucarin91/a0a0c7b9768d38d659c411d818800864 to your computer and use it in GitHub Desktop.
Shell command to retrive the absolute of the script
This file contains 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
abs_path=$(cd "$(dirname "$0")" && pwd) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment