Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
get dir of script(shell)
dir_of_script=$(cd "$(dirname "$0")"; pwd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment