TECHIES WORLD

For Techs.... Techniques.... Technologies....

CpanelLinux

How to execute bash script inside another bash script

For executing bash script inside another bash script, we can use source command.

Syntax:

source script-name.sh

Where script-name.sh is the secondary script need to be execute.

 

Leave a Reply