Common commands in DOS and common DOS Commands

Source: Internet
Author: User

Common commands in DOS and common DOS Commands

0. To enter a drive, enter the drive letter directly. For example, "d :"
1, CD -- enter the specified directory
2. cls -- clear the content on the screen of the monitor and make the DOS prompt to the upper left corner of the screen.
3, time -- display and set the DOS system time
4. dir Displays the current directory file

5. Return to the directory on the previous layer. Note that there is a space between cd and. Cd/return to the root directory.
6. Current date and time of date
7. view your account name in whoami
8. ping the hostIp address or name: Send four icmp packets to the target host to test whether the host receives and responds to the request. Generally, it is used to test whether the normal network is smooth. However, different ping does not mean that the network is disconnected. It may be that the target host is installed with a firewall and the icmp response is blocked.

9. netstat HOST: view the current TCP/IP connection status of the host, such as the port status.

10. ipconfig provides useful network configuration and troubleshooting commands. The network interface status of the current machine is displayed without parameters. /All: displays detailed information.

 


 

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.