../

How to get the name of the script in Bash

PROGNAME=$(basename "$0")