How do you close a shell in Linux?

Ngân Lam

New member
How do you close a shell in Linux?
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.
 

Tìm kiếm

Back
Top