tldr/pages.zh/common/exit.md

13 lines
235 B
Markdown
Raw Normal View History

2021-05-23 15:50:41 +01:00
# exit
> 退出终端程序。
> 更多信息:<https://manned.org/exit.1posix>.
2021-05-23 15:50:41 +01:00
- 使用最后执行命令的退出代码,退出终端程序:
`exit`
- 使用指定的退出代码,退出终端程序:
`exit {{exit_code}}`