Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
logout
Terminate a session (UNIX)
Syntax:
logout
Options:
None.
Description:
The logout command terminates a session. This command can be executed only from a shell invoked by a login command; otherwise a message is printed and the logout command is ignored.
If you execute a login command from the login shell, the shell from which it is run will be terminated. This is because by default login is an alias for exec login.
See also:
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Next]](../next.gif)