LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

logout

exits a login shell

TLDR

Exit login shell
$ logout
copy

SYNOPSIS

logout [status]

DESCRIPTION

logout exits a login shell. It terminates the current shell session and returns to the login prompt.The command is a shell builtin. It only works in login shells, not subshells.

PARAMETERS

STATUS

Exit status code (optional).

CAVEATS

Only works in login shells. Use exit for non-login shells. Shell builtin command.

HISTORY

logout is a shell builtin command available in bash and other shells for terminating login sessions.

SEE ALSO

exit(1), login(1), bash(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid