logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

Print Function Context - Caller Command | Online Free DevTools by Hexmos

Print function context with Caller command. Inspect bash script function calls, line numbers, and file names. Free online tool, no registration required.

caller

Print function context. More information: https://www.gnu.org/software/bash/manual/bash.html#index-caller.

  • Print the line and filename where the current function was called:

caller

  • Print the line, function and filename where the current function was called:

caller 0

  • Print the line, the function name and the filename of a function call n frames back:

caller {{n}}

See Also