Link to home
Start Free TrialLog in
Avatar of jculkincys
jculkincysFlag for United States of America

asked on

Bash script modular functions

Hello

I am trying to "include" fucntions from a files in my bash scripts similar to the way PHP does it.

For example if I have a file called functions.sh which includes commonly used functions, I want to include that in every bash script.

What I want to do is similar to php's include function. Is this possible?

Thanks for any and all help
jculkincys
ASKER CERTIFIED SOLUTION
Avatar of xDamox
xDamox
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jculkincys

ASKER

I like it

Thank you kindly

P.S. are getting sick of answering my simple questions? haha
hehe Never :) I enjoy helping others