Created
May 4, 2021 06:32
-
-
Save cr-chsn1/bda64eb9bba69a08004103ff7b9ae30c to your computer and use it in GitHub Desktop.
Bash script gets to know itself
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
script="$(basename "$(test -L "$0" && readlink "$0" || echo "$0")")" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment