Is there a way to include another shell script in a shell script to be able to access its functions?
Like how in PHP you can use the include
directive with other PHP files in order to run the functions that are contained within simply by calling the function name.
source
command, the question in itself is asking how to pinpoint the location of asource
file. – Earley