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
nframes back:
caller
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
