Bash Scripts
From In The Wings
University of Florida High Performance Computing Center
Shell Tricks
To get the name of the script sans the path: Explanation
SCRIPT=${0##*/}
To get the name of the script sans the path: Explanation
SCRIPT=${0##*/}