I just saw some code in bash that I didn\'t quite understand. Being the newbie bash scripter, I\'m not sure what\'s going on.
echo ${0##/*} echo ${0}
See the Parameter Expansion section of the bash(1) man page.
Parameter Expansion
bash(1)