Bash Shell: Check If A Function Exists Or Not (Find Out If a Function Is Defined Or Not) last updated April 2, 2010 in Categories BASH Shell, Linux, UNIXHow do I determine if a function called foo() is already defined in a bash script or not? If a function called foo() is defined just call it or show an error message?