Bash: Who defined that shell function?

From FVue
Jump to: navigation, search

Problem

How do I find out where a particular bash function, for example foo, is defined?

Solution

shopt -s extdebug
declare -F foo

Comments

blog comments powered by Disqus