I have two Bash scripts. The parent scripts calls the subscript to perform some actions and return a value. How can I return a value from the subscript to the parent script? Add
return a value from the subscript and check the variable $? which contain the return value