Shell Scripting Sourcing a config file

Many programs use external configuration files. Use of external configuration files prevents a user from making changes to a script. Config file is added with the help of source command.

If a script is shared in many users and every user need a different configuration file, then instead of changing the script each time simply include the config files.


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *