Telnet command Example Analysis

Source: Internet
Author: User
Tags telnet command example

Through understanding several commonly used Telnet commands, you should have a general impression on the use of Telnet commands. Here we will analyze a Telnet command example. Telnet is used for remote logon to the Internet. it allows users to sit on the keyboard of an Internet-connected computer and access the computer of another Internet-connected computer through the network. this connection can happen on a computer in the same room or on a computer that has been connected to the Internet all over the world. traditionally, a computer connected to a computer that provides services to all users on the network is called a server, and a machine in use is called a client ). once connected, the client can enjoy all the services provided by the server. you can run a common interaction process (register and run commands) or access many special servers, such as searching for book indexes. various services provided by different hosts on the Internet can be used.

The simplest way to use the Telnet protocol is to type in the command line:

%telnet remote-computer-name(or IP) 

Here the C shell of UNIX system is used, because the command is set to "% ". if other computer systems (such as OS, VAX/VMS, and Macintosh) commands are used, there are only some differences in details, but they are essentially the same, the following is an example of a basic Telnet command:

telnet porky.math.ukans.edu 
Trying 129.237.128.11...
Connected to porky.math.ukans.edu.
Escape character is '^]'.
SunOS UNIX(porky)
login:wl
password:xxxxxxx
Last Login: Tue Mar 28 05:35 from ns.bta.net.cn
SunOS Release 4.1.3_U1(SLIPPERY1) #3: Sun Nov 20 23:47:23 CST 1999
No match.
if:Expression syntax.
porky/serv/wl%ls
hello
porky/serv/wl%
porky/serv/wl%cd/
porky/%ls
Mail/ dev/ home/ mnt/ sbin/
usr/
News/ domain/ home1/ net/ serv/
var/
Record/ etc/ kadb* pcfs/ sys@
vmunix*
bin@ export/ lib@ print tmp/
boot gofer/ lost+found/ record tmp_mnt/
porky/%

The above Telnet command is used to find a remote computer called porky.math.ukans.edu. after finding this computer, the computer that has been online has become a terminal. the dialog displayed on the screen is the same as the terminal connected to the user on the host. The user must register to enter (login) and log out (logout ). after login, You can provide any commands suitable for remote systems. Because "porky.math.ukans.edu" is oriented to UNIX systems, all standard UNIX Commands (like ls and pwd) can be used. when you exit from the remote system, you can also exit from Telnet to run your local system. in fact, Telnet is a tool that can be registered to the remote computer system.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.