caller

caller (built-in Bash command)

The caller has a built-in Bash command manual page and help. The caller command returns the context of the current shell function or script run with the "." Or source built-in commands.