Created
October 2, 2019 22:10
-
-
Save SmugZombie/2ce3e9cdd46a6886e2babeb2803d612e to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
echo | |
echo "# arguments called with ----> ${@} " | |
echo "# \$1 ----------------------> $1 " | |
echo "# \$2 ----------------------> $2 " | |
echo "# path to me ---------------> ${0} " | |
echo "# parent path --------------> ${0%/*} " | |
echo "# my name ------------------> ${0##*/} " | |
echo "# path to me ---------------> " $(basename $0) | |
echo | |
exit |
Author
SmugZombie
commented
Oct 2, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment