Network command program

Source: Internet
Author: User
Tags ftp commands

There are some built-in Applets in Windows 98/2000, and shortcuts are not set in the Start menu, you need to enter program file names in the run dialog box or MS-DOS mode to execute them. Most cainiao users often ignore their existence, but they are very practical and can implement many network and system auxiliary functions.
These programs are primarily tools for network, system configuration, and diagnostics. These include Ping, Tracert, FTP, Drwatson, Regedit, Winipcfg, Winpopup, MSConfig, and Winfile (Note: The last four commands are invalid in Windows2000. The Ping, Tracert, and FTP commands can be used only after the TCP/IP protocol is installed. The following describes the usage of these network commands. We know more or less about these commands. Here are some useful network commands.
1. Ping the network connectivity test command
The Ping Command sends an Internet Control Information Protocol (ICMP) response packet to the computer and listens to the response packet to verify the connection with the remote computer or local computer. For each sent message, Ping can wait at most one second and print the number of sent and received packets. Then, compare each received message and sent message to verify its validity. By default, four response packets are sent. Each packet contains 32 bytes of data (a periodic uppercase letter sequence ).
Ping Command Format:
Ping [-t] [-a] [-ncount] [-lsize] [-f] [-iTTL] [-vTOS] [-rcount] [-scount] [- jhost-list] | [-khost-list] [-wtimeout] destination-list
Destination-list is the address of the target computer. Among these parameters of the Ping command,-t is mainly used (continuously sending messages to the specified computer, you can press Ctrl + Break to view the statistics or continue running, -a (resolve the IP address to the computer name);-ncount (send the response packets specified by count) and-lsize (send response packets with the specified data size ). For example, Ping263 home address, enter C:> pingwww.263.net in MS-DOS mode.
Ping commands are often used to diagnose TCP/IP networks. Send a message to the target computer to send it back. If the returned message is consistent with the sent message, your Ping command is successful. If no response message is received within the specified time, Ping the computer and the "Requesttimeout" message is displayed. By analyzing the Ping data, you can determine whether the computer is on, whether there is a configuration or physical fault in the network, or how long it takes for the packet to be sent and returned. You can also use the Ping utility to test the computer name and IP address. If you can successfully verify the IP address but cannot verify the computer name, the name resolution is faulty.
Of course, the shorter the return time of a message, the fewer Requesttimeout appears, which means that the connection to this computer is stable and fast.
2. Route analysis diagnostics Tracert
The diagnostic utility determines the route to the destination by sending ICMP response packets with different survival times to the destination. That is to say, the Tracert command can be used to track the path from one computer to another. For example, if you want to know how to go from your computer to the 263 homepage while surfing the Internet, enter the command Tracertwww.263.net in MS-DOS mode and press Enter.
C:> tracertwww.263.net
Tracingroutetowww.263.net [211.100.31.131]
Overamaximumof30hops:
1 <10 ms <10 ms <10 ms 202.195.243.1
2 10 ms <10 ms 10 ms 202.195.240.254
3 <10 ms <10 ms <10 ms 210.29.33.9
.......
15 190 ms 170 ms 180 ms 211.100.24.4
16 100 ms 111 ms 120 ms 211.100.31.131
Tracecomplete.
The number on the left is the number and sequence of computers that the route goes through. "*" Indicates that the round-trip time is too long. Tracert "forgets" this time. "10 ms" indicates the round-trip time of the packet sent to the first computer (202.195.243.1, the Unit is milliseconds. Because each packet has different round-trip times, Tracert displays three round-trip times. After the time information, it is the name information of the computer. It is a domain name format that is easy for people to read and also has an IP address format. It allows you to know how far your computer and the target computer are on the network. It takes several steps to get there.
3. File Transfer command FTP
FTP is a file transfer command. Through FTP, you can directly transmit text and non-text information in two directions. That is, you can download or upload files from a computer running the FTP service on the Internet. In the MS-DOS mode, enter the FTP press enter, start the FTP, and enter the FTP command prompt mode, we can see that FTP and DOS are very similar, it contains a lot of commands, common FTP commands are as follows:
Ftp-v-d-I-n-g [host name]
-V displays all the response information of the remote server.
-D. Use the debugging method.
-N restrict ftp automatic logon, that is, the. netrc file is not used.
-G cancel the Global File Name
The FTP server is usually anonymous, that is, users can establish a connection with a remote computer using an anonymous identity and copy files from the remote computer, instead of registering users on the remote computer. When you use the Open command to connect to the FTP server, you can enter Username: ftp (or anonymous, guest, etc.) and Password: any e-mail address or null value during logon. After logging on to the system, run the Cd command to go to the directory where the downloaded file is located, use the LCD command to determine the local directory where the file is saved, and run the Get command to download the required file. After the task is completed, enter the Quit command to disconnect from the remote computer and exit the FTP mode.
Currently, most netizens use specialized FTP software for file transfer, such as CuteFTP and FTPControl. These software uses the Windows GUI, which is easier to use than the command prompt method. However, if these software is not installed on the computer, you can use the FTP command that comes with Windows 98 to completely implement the file transfer function.
4. IP configuration program Winipcfg
The IP configuration utility allows users or administrators to view the current IP address and other useful information related to the network configuration. Click Start, and then click Run. In the run dialog box, enter Winipcfg and confirm. The IP configuration information window appears. Click details ", then, more detailed network configuration information is displayed, showing the specific IP Address Configuration of the computer on which the dial-up is connected at this time, which is divided into host information and network adapter information, including the DNS server address, computer IP address, and subnet mask. To view the address information of other network adapters, select the corresponding adapter from the "Ethernet Adapter information" list. Currently, most dial-up computers use dynamic IP addresses assigned by ISPs instead of fixed IP addresses. Therefore, when accessing the Internet, you can use this program to know the IP addresses and subnet masks of the netbook.

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.