snippetbashTip
logout — Exit a login shell. More information: <https://www.gnu.org/software/bash/manual/bash.html#index-logo
Viewed 0 times
shellcommandexitlogincliinformationmorelogout
Problem
How to use the
logout command: Exit a login shell. More information: <https://www.gnu.org/software/bash/manual/bash.html#index-logout>.Solution
logout — Exit a login shell. More information: <https://www.gnu.org/software/bash/manual/bash.html#index-logout>.Exit a login shell:
logoutExit a login shell and specify a return value:
logout {{exit_code}}Code Snippets
Exit a login shell
logoutExit a login shell and specify a return value
logout {{exit_code}}Context
tldr-pages: common/logout
Revisions (0)
No revisions yet.