Files
tldr/pages.zh/common/exit.md
2024-01-01 15:56:36 +01:00

13 lines
283 B
Markdown

# exit
> 退出终端程序。
> 更多信息:<https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#exit>.
- 使用最后执行命令的退出代码,退出终端程序:
`exit`
- 使用指定的退出代码,退出终端程序:
`exit {{exit_code}}`