http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_07_01.html