Nguyễn Trường Sinh
Member
How do you exit a file in bash?
Answer
To end a shell script and set its exit status,
use the exit command. Give exit the exit status that your script should have. If it has no explicit status, it will exit with the status of the last command run.
Answer
To end a shell script and set its exit status,
use the exit command. Give exit the exit status that your script should have. If it has no explicit status, it will exit with the status of the last command run.