How do you exit a script?

How do you exit a script?
Answer
If you will invoke the script with source , you can use
return <x> where <x> will be the script exit status (use a non-zero value for error or false).
 

Tìm kiếm

Back
Top