Calling other shell scripts in the shell

Calling other shell scripts in the shell

 

Method 1: . ./subscript.sh (space between two dots)     

Method 2: source ./subscript.sh

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326639986&siteId=291194637