Terminate a session (UNIX)
logout
QNX Neutrino
None.
The logout command terminates a session. You can execute this command only from a shell invoked by a login command; otherwise a message is printed and the logout command is ignored.