# get dir of loaded script
$ CWD="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
Created
May 15, 2020 00:35
-
-
Save bhuvidya/b58b0cdb07444925f2a3589a2b727be2 to your computer and use it in GitHub Desktop.
Handy Bash shell code snippets.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment