telnet
[options] [host [port]]Communicate with another host using the Telnet protocol. host may be either a name or a numeric Internet address (dot format). telnet has a command mode (indicated by the telnet>
prompt) and an input mode (usually a login session on the host system). If no host is given, telnet defaults to command mode. You can also enter command mode from input mode by typing the escape character ^]
. In command mode, type ?
or help
to list the available commands.
Solaris telnet provides these options:
-8
Use an 8-bit data path. This negotiates the BINARY
option for input and output.
-c
Don't read $HOME/.telnetrc at startup.
-d
Set the debug
option to true
.
-e
cUse c as the escape character. The default is ^]
. A null value disables the escape character mechanism.
-E
Don't have an escape character.
-l
userUse the ENVIRON
option to pass the value of the USER environment variable.
-L
Use an 8-bit data path on output. This negotiates the BINARY
option only for output.
-n
fileRecord trace information in file.
-r
Provide an rlogin-style interface, in which the escape character is ~
and is only recognized after a carriage return. The regular telnet escape character must still be used before a telnet command. "~.
Return" and "~ ^Z
" terminates or stops a session, respectively. This feature may change in future versions of Solaris.