Home Linux

logout

Exit a login shell.

SYNTAX
      logout [n]

Returns a status of n to the shell's parent.

"We want the finest wines available to humanity. And we want them here and we want them now" - Bruce Robinson / Withnail and I

Related commands:
exit - Exit session
<ctrl><d> - Exit session
logname - Print current login name

Equivalent Windows NT commands:

EXIT - Quit the CMD shell



Back to the Top

Simon Sheppard
SS64.com