Is it possible to find out the full path to the script that is currently executing in KornShell (ksh)?
i.e. if my script is in /opt/scripts/myscript.ksh
/opt/scripts/myscript.ksh
Try which command.
which scriptname
will give you the full qualified name of the script along with its absolute path