Man pages for scriptName
Determine a Script's Filename from Within the Script Itself

current_filenameDetermine a script's filename from within the script itself
scriptName documentation built on June 19, 2019, 9:03 a.m.