UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: teeChapter 2
Unix Commands
Next: Reference: test
 

telnet

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 Options

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 c

Use c as the escape character. The default is ^]. A null value disables the escape character mechanism.

-E

Don't have an escape character.

-l user

Use 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 file

Record 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.


Previous: Reference: teeUNIX in a Nutshell: System V EditionNext: Reference: test
Reference: teeBook IndexReference: test

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System