Latest web development tutorials

Linux exit command

Linux command Daquan Linux command Daquan

Linux exit command exits the current shell.

Executive exit can shell specified exit status value. If the value of parameter setting mode, the default shell to exit. State value 0 for successful execution, other value represents the execution failed. exit can also be used in the script, leaving the script being executed back shell.

grammar

exit [状态值]

Examples

Exit terminal

# exit

Linux command Daquan Linux command Daquan