logout
Shell builtin: logout
Ends a login shell.
Usage
logout [n]
Description
Leave a login shell (sudo -i, su -) with code N, like exit. Any other shell refuses.
Options in the simulator
No options.
Where you learn it
No lesson yet.