logout command: Exit the login Shell.
logout command is used to exit the currently logged-in Shell.
logout command lets the user exit the system, and its function corresponds to the login command.
logout command Function Description
Use the logout command to exit the login shell.
logout command Syntax
logout
logout command Demo
Exit the login shell.
[root@deepinout ~]# logout