Command descriptions close
ConnectPort® LTS Command Reference
21
close
Purpose
Closes active connect, Rlogin, and Telnet sessions; that is, sessions opened by “connect,” “rlogin,” or
“telnet” commands.
The “close” command is associated with the sessions displayed by the“status” command.
A “close” command issued without any options closes the current connection.
To issue the “close” command, you must first escape the active session. Do this by pressing the
escape key defined for your session type. The following table lists default escape keys.
Session Type Default Escape Keys
Connect Ctrl+[+Enter
Rlogin ~+Enter
Telnet Ctrl+]+Enter
For ConnectPort LTS, use the command “z suspend telnet” to escape the active Telnet session
instead of “e exit telnet”. Using the latter command to exit the Telnet session causes the session to
be closed automatically and there will be no session to close using “close” command. See the "telnet”
command description for details on connecting and closing Telnet connections.
Syntax
close [{*|
connection number
}]
Options *
Closes all active sessions.
connection number
Identifies the session to close by its session number.
Examples
Close a session identified by number
#> close 1
Close the current session
#> close
Close all active sessions
#> close *