home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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:


Use an 8-bit data path. This negotiates the BINARY option for input and output.


Don't read $HOME/.telnetrc at startup.


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.


Don't have an escape character.

-l user

Use the ENVIRON option to pass the value of the USER environment variable.


Use an 8-bit data path on output. This negotiates the BINARY option only for output.

-n file

Record trace information in file .


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: tee UNIX in a Nutshell: System V Edition Next: Reference: test
Reference: tee Book Index Reference: 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