Common dos commands and basic dos Commands

Source: Internet
Author: User

Common dos commands and basic dos Commands

Enter Terminal

First, you have a console (command line Prompt window) for entering the doscommand:

How to open a console:

Method 1: Start -------> all programs ---------> accessories -----------> Command Prompt

Method 2: Start -------> RUN --------> Enter cmd.


Common doscommands:

Drive letter: Enter the specified disk.

Operation Folder:
Dir has no parameter to list all files and folders in the path of the current console.

/Ah only shows hidden files.

/A display all files

/S display all files and Their subfiles

Cd path to enter the specified path.
Cd .. roll back to the upper-level directory.
Cd \ roll back to the root directory in the current path.
Create a folder by the name of the md folder
The name of the rd folder to delete an empty folder. Note: it cannot be used to delete non-empty folders.

Operation file:
Echo Data> the file name creates a file and specifies the data to be written.
Type file name to view the specified file content.
Del file name: Delete the specified file. NOTE: If del is followed by a folder, all files in the folder are deleted.
* Wildcard (any file name can be matched)

Copy path \ new file path \ file copy file from old path to new path.

Move path \ new file path \ file move file to New Path

Tab content completion.

Cls clear screen

Network Problems

Ping the Host ip address or name to send icmp packets to the target host to check whether the target host can detect and respond accordingly. Generally, it is used to test whether the normal network is smooth. A single ping failure does not mean that the network is disconnected. It may be because the target host is installed with a firewall and has organized icmp.

The ping-t Host ip address or name does not stop sending packets.

Ipconfig does not have a parameter to display the network interface status of the current machine.

 

The up and down arrow keys are used to retrieve the commands that were last written.

Exit to close the console.

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.