Use the status command to display information about your current session.
Anyone can execute the status command.
Also see the close command. Typically you use the status command to determine which sessions to close.
Enter the status command as shown below.
status
In this example, the status command provides information on the user’s current session.
status