What is exit in shell script?

What is exit in shell script?
Answer
The exit statement is used to exit from the shell script with a status of N. Use the exit statement to indicate successful or unsuccessful shell script termination. The value of N can be used by other commands or shell scripts to take their own action.
 

Tìm kiếm

Back
Top