Let's say; Script a.sh has function f1 defined. Script b.sh needs to call f1 to use. How do I do that? I searched online, it says I have to edit some PATH vairable, but does it mean global PATH or is there any PATH specifically used only in bash?
That will make the function available to be called within b.sh.