logout
file managementLinux/Unix
The logout command is one of the most frequently used commands in Linux/Unix-like operating systems. logout Exit a login shell
Quick Reference
Command Name:
logout
Category:
file management
Platform:
Linux/Unix
Basic Usage:
logout [options] [arguments]
Common Use Cases
Syntax
logout
Options
Option | Description |
---|---|
None | The logout command does not accept any options |
Examples
How to Use These Examples
The examples below show common ways to use the logout
command. Try them in your terminal to see the results. You can copy any example by clicking on the code block.
# Basic Examples Basic
logout