Skip to content

Instantly share code, notes, and snippets.

@lucarin91
Last active August 11, 2020 10:17
Show Gist options
  • Save lucarin91/a0a0c7b9768d38d659c411d818800864 to your computer and use it in GitHub Desktop.
Save lucarin91/a0a0c7b9768d38d659c411d818800864 to your computer and use it in GitHub Desktop.
Shell command to retrive the absolute of the script
abs_path=$(cd "$(dirname "$0")" && pwd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment