Skip to main content

bash script include config file

With source command static variables may be included from the main bash script like:
source /etc/script.config

And content of config file may like:
server_ip="5.5.5.5"
app_version=3.5
app_list=('app1' 'app2' 'app3')


Comments

Popular posts from this blog