index.txt
TELNET(1) General Commands Manual TELNET(1) NAME telnet - user interface to the telnet protocol SYNOPSIS telnet [ host [ port ] ] DESCRIPTION Telnet communicates with another host using the TELNET protocol. If telnet is invoked without arguments, it prompts `telnet>'. In this mode it accepts the commands listed below. If it is invoked with argu‐ ments, it performs an open command (see below) with those arguments. Once a connection has been opened, telnet sends typed text to the re‐ mote host. To issue telnet commands when in input mode, precede them with the telnet escape character, initially control-]. The following commands are available. Only a unique prefix of the com‐ mand need be typed. open host [ port ] Open a connection to the named host. A missing port number de‐ faults to a TELNET server. The host may be a host name or an Internet address specified in the `dot notation'. close Close a TELNET session and return to command mode. quit Close any open TELNET session and exit telnet. escape [ escape-char ] Set the telnet escape character. Control characters may be specified as `^' followed by a single letter. status Show the current status of telnet. options Toggle viewing of TELNET options processing. When viewing is on, all TELNET option negotiations will be displayed. Options sent by telnet are displayed as SENT, options received as RCVD. crmod Toggle carriage return mode. When this mode is on, carriage re‐ turn characters received from the remote host map into a car‐ riage return and a line feed. ? [ command ] Get help. With no arguments, print a help summary. With a com‐ mand is specified, print information about that command only. FILES /usr/inet/lib/* SEE ALSO dcon(1), netstat(8) research TELNET(1)