标签: 退出登录

1 篇文章

Linux常用命令学习笔记:logout
命令功能 logout命令用于退出当前登录的 shell 会话。该命令会终止当前用户的登录会话,返回到登录前的状态。 基本语法 logout 使用示例 退出当前登录会话 logout 注意事项 登录 shell:logout命令只能在登录 shell 中使用,在非登录 shell 中会提示错误 退出状态:命令执行成功返回 0,失败返回非 0 值 替…