> For the complete documentation index, see [llms.txt](https://hezhiqiang.gitbook.io/linux/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hezhiqiang.gitbook.io/linux/ming-ling/logout.md).

# logout

退出当前登录的Shell

## 补充说明

**logout命令** 用于退出当前登录的Shell，logout指令让用户退出系统，其功能和login指令相互对应。

### 语法

```
logout
```
