#Bash 的 logout 命令
exit [N]
功能
退出登录 shell。
类型
Bash 内置命令。
参数
N- shell 的返回值为N
#示例
$ logout
Connection closed.
Disconnected from remote host(dev) at 22:56:27.
#手册
logout: logout [n]
Exit a login shell.
Exits a login shell with exit status N. Returns an error if not executed
in a login shell.