Dos Common Command Collation

Source: Internet
Author: User

This post is not a full command usage, just a record when used. DOS command Network Commands ipconfig

Ipconfig/all Display full information
ipconfig/renew Update specifies adapter IPv4 address
ipconfig/release release IP
ipconfig/renew6 update ipv6
Ipconfig/flushdns Clear DNS Cache
ipconfig/displaydns display DNS Resolver cache content
netstat
NET accounts displays the current configuration of password, login restrictions, and domain information to
view a port occupancy:
Netstat-ano | find ": 8080"
Ping
-T: Always ping
-a: address resolves to NetBIOS-
N: Sends a specified number of ECHO packets, default 4-
L: Echo packet sending the specified amount of data, default 32B, maximum 65500B-
f: Send the "Do not Fragment" flag in a packet-I: Set the time-to-
live field to the value specified by Tto-
V: Set the Service Type field to the value specified by the TOS-
R: Records the route of outgoing and returned packets in the Record Routing field-
s: Specifies the count of the specified number of hops-j:tjetcomputer-list for the specified
computer list route packet. Continuous computers can be separated by an intermediate gateway-
K: Route packets with the list of computers specified by Computer-list. Consecutive computers cannot be separated by an intermediary gateway
-w:timeout Specifies the time-out interval in milliseconds
desination-list: Specifies that the remote computer to ping
can roughly determine the target host operating system type by TTL value:
Windows General TTL is between 100~130;
Unix/linux between General 240~255 or 50~60.
Netcat

Download required under Windows.

Nc-zv localhost 80: Specifies whether the port is open
telnet
tracert Netsh ARP Batch processing

Echo Current drive letter:%~d0
Echo Current drive letter and path:%~dp0
Echo Current drive letter and path short name format:%~sdp0
echo Current Batch full path:%~f0
echo Current cmd default directory:%cd%

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.