BASH Function documentation function bash function write up bash function tldp.org/LDP/abs/html/functions.html http://tldp.org/LDP/abs/html/functions.html function bash function functions Bash Function Functions http://tldp.org/LDP/abs/html/functions.html bash function functions http://tldp.org/LDP/abs/html/functions.html bash function Advanced Bash-Scripting Guide: Chapter 24. Functions http://tldp.org/LDP/abs/html/functions.html function http://tldp.org/LDP/abs/html/functions.html you should use functions function syntax functions