Then you can call them from your shell script. The second way is to put the functions in a directory, ... ...
unix.ittoolbox.com