logout - Unix, Linux Command



NAME

logout - session-logout.

SYNOPSIS

  • session-logout[options]
  • DESCRIPTION

    logout command allows you to programmatically logout from your session. causes the session manager to take the requested action immediately.

    EXAMPLES

    Example-1:

    To logout from current user session:

    $ logout

    output:

    no output on screen, current user session will be logged out.

    Advertisements