Linux logout command

Linux 命令大全Linux Command Reference

The Linux logout command is used to log out of the system.

The logout command lets the user log out of the system, and its function corresponds to that of the login command.

Syntax

logout

Examples

Log out of the system:

[root@example.com ~]# logout

Linux 命令大全Linux Command Reference

Other extensions