CMD Command Daquan

explorer-------open resource manager
logoff--------logout command
t ssh utdn------60 seconds countdown shutdown command
lusrmgr.msc----- local user and Group
services.msc-----Local service settings
oobe/msoobe /a---Check if XP is activated
notepad-------Open Notepad
cleanmgr-------** finishing
net start messenger----start messenger service
net stop messenger-----stop messenger service
compmgmt.msc----computer management
conf----------start netmeeting
dvdplay----- --DVD player
charmap--------start character map
diskmgmt.msc----disk management utility
calc-----------start calculator
dfrg.msc--- ----disk defragmenter
chkdsk.exe-----Chkdsk disk check
devmgmt.msc--- device manager
regsvr32 /u *.dll----stop dll file running
drwtsn32------ system Doctor
rononce -p ----15 seconds shutdown
dxdiag--------check DirectX information
regedt32-------Registry Editor
Msconfig.exe---System Configuration Utility
rsop.msc-- -----Group Policy result set
mem.exe--------Show memory usage
regedit.exe---Registry
winchat-------XP comes with LAN chat
progman-- ------Program manager
winmsd---------system information
perfmon.msc---computer performance monitoring program
winver--------check Windows version
sfc /scannow-- --- Scan for errors and restore
taskmgr--- Task Manager (2000/xp/2003)
wmimgmt.msc---Open Windows Management Architecture (WMI)
wupdmgr---Windows Updater
w script---windows script host settings
write--- wordpad
winmsd---system information
wiaacmgr---scanner and Camera Wizard
mem.exe --- Display memory usage
Msconfig.exe --- System Configuration Utility
mplayer2-------simple widnows media player
mspaint--------drawing board
mstsc----------remote desktop connection
mplayer2-------media player
magnify- -------magnifying glass utility
mmc-----------open console
mobsync-------sync command
dcomcnfg-------open system component service
ddeshare -------Open DDE sharing settings
dvdplay--------DVD player
net stop messenger-----stop messenger service
net start messenger----start messenger service
notepad---- ---Open Notepad
nslookup---Network Management Tool Wizard
ntbackup---system backup and restore
narrator---screen "narrator"
ntmsmgr.msc--- - Removable Storage Manager
ntmsoprq.msc - - Removable Storage Manager * make a request
netstat -an - - - (TC) command to check the interface
syncapp - - - - - - - - create a briefcase
sysedit - - - - ---System Configuration Editor
sigverif-------File Signature Verifier
sndrec32-------recorder
shrpubw--------create shared folder
secpol.msc-----local security policy
syskey--------system encryption , once encrypted, it cannot be Unlock, protect the double password of the windows xp system
services.msc---local service settings
Sndvol32---volume control program
sfc.exe---system file checker
sfc /scannow--- -windows file protection
tsshutdn------60 seconds countdown shutdown command
tourstart----- Introduction to xp (the roaming xp program that appears after the installation is complete)
taskmgr--------task manager
eventvwr- ------Event Viewer
eudcedit-------Word Creator
Explorer-------Open Explorer
Packager-------Object Packager
perfmon.msc--- Computer performance monitoring program
progman--------Program Manager
regedit.exe---Registry
rsop.msc-------Group Policy Result Set
regedt32------Registry Edit rononce
-p --- 15 seconds to shut down
regsvr32 /u *.dll----stop dll file running
regsvr32 /u zipfldr.dll------cancel ZIP support
cmd.exe-------- cmd command prompt
chkdsk.exe--- ---Chkdsk disk check
certmgr.msc------Certificate Management Utility
calc------startup calculator
charmap---startup character map
cliconfg--------- --SQL SERVER Client Network Utilities
Clipbrd--------Clipboard Viewer
conf----------Starting netmeeting
cleanmgr-------** finishing
ciadv.msc ------The indexing service program
osk------------Open the on-screen keyboard
iexpress------Trojan bundling tool, the system comes
with fsmgmt.msc-----shared files Folder Manager
utilman--------Auxiliary Tools Manager
gpedit.msc----Group Policy

1. Ping command

Ping [-t] [-a] [-n Count] [-l Size][ -f] [-i TTL] [-v Tos] [-r Count] [{-j Hostlist|-K hostList}] [-w Timeout] [TargetName]

1) Parameters: [-l Size]

Specifies the length (in bytes) of the "data" field in the sent echo request message, the default value is 32, and the maximum value can be 65500.

Combined with -t: Observe large packet stability.

2) Parameters: [-r Count]

Record the route of outgoing and returning packets in the "record route" field. Usually, the sent data packets reach the destination address through a series of routes. This parameter can be used to set the number of routes that you want to detect. The limit can be traced to 9 routes.

Count must have a minimum value of 1 and a maximum value of 9.

3) Parameters: [-f]

Send the "don't fragment" flag in the data packet, the data packet will not be fragmented by the gateway on the route. Usually, the data packets you send will be sent to the other party through routing segmentation. After adding this parameter, the routing will not be segmented again.
Combined with -l: observe the phenomenon and its meaning.

4) Parameters: [-w Timeout]

timeout Specifies the timeout interval in milliseconds. The default value is 4000ms.

5) Parameters: [-s Count]

Specifies the timestamp of the number of hops specified by count. This parameter is similar to -r, except that this parameter does not record the route that the data packet returns through, and only records 4 at most.

Rough judgment of TTL value:

Firewall, ESXserver: 64

Windows: 128

Switch: 255

Second, the Tracert command

tracert [-d] [-h maximum_hops] [-j host-list] [-w timeout] [-R] [-S srcaddr] [-4] [-6] target_name

parameter:

-d do not resolve address to host name.

-h maximum_hops Maximum number of hops for the search target.

-j host-list Loose source routing along with host list (IPv4 only).

-w timeout Timeout in milliseconds to wait for each reply.

-R Trace round trip paths (IPv6 only).

-S srcaddr The source address to use (IPv6 only).

-4 Forces use of IPv4.

-6 Forces the use of IPv6.

3. The pathping command

pathping [-n] [-h MaximumHops] [-g Hostlist][-p Period] [-q NumQueries [-W Timeout] [-4] [-6] [TargetName]

Function: mainly used to provide Information about network lag and network loss at intermediate hops between source and destination.

Features: Combines the functionality of the ping and tracert commands to provide additional information that neither command can provide.

Because pathping displays the packet loss level for all routers and links specified, users can use it to identify the router or link that is causing network problems.

Fourth, the Arp command

arp[-a [InetAddr] [-N IfaceAddr]][-g [InetAddr] [-N IfaceAddr]][-d InetAddr [IfaceAddr]][-s InetAddr EtherAddr [IfaceAddr]]

arp -a Ip  

if we have If there are multiple network cards, then use arp -a plus the Ip address of the interface to display only the Arp cache items related to the interface.

· arp -s Ip MAC

can manually enter a static entry into the Arp cache. The item will remain valid during computer boot, or will be automatically updated by a manually configured physical address in the event of an error.

·arp -d Ip   

Use this command to manually delete a static project.

5. Route command

route [-f] [-p] [Command [Destination][mask Netmask] [Gateway] [metric Metric]] [if Interface]]

routeprint: This command is used to display the current item in the routing table. The network card is configured with an IP address, so all of these items are added automatically.

routeadd 0.0.0.0 mask 0.0.0.0 192.168.1.1

This command can manually add static routing items to the routing table. Restarting the PC will clear it.

route–p add 0.0.0.0 mask 0.0.0.0 192.168.1.1

This command can manually add static routing items to the routing table permanently. It persists after restarting the PC.

routedelete: Use this command to delete a route from the routing table.

6. The Nslookup command is a very useful command

for querying domain name information. It can specify the type of query, check the lifetime of DNS records, and specify which DNS server to use for interpretation.

Syntax: Nslookup [-option] [hostname] [server]

Nslookup has two modes: interactive and non-interactive.

Interrupt an interactive command: Ctrl+C or type exit.

Usage (non-interactive):

lC:\>nslookup baidu.com (forward resolution)

Observe which is the current default DNS server?

lC:\>nslookup baidu.com IP (specify DNS)

lC:\>nslookup baidu.com IP (specify DNS)

lC:\>nslookup IP (reverse resolution)

1. Query A record

C:\>nslookup cdnunion.com

2. Check the MX record

C:\>nslookup -type=mx cdnunion.com

3. Check the CNAME record

C:\>nslookup -type=cname WWW.BAIDU.COM

4. Check the domain name server

C:\>nslookup -type=ns cdnunion.com

Seven, netstat command

The function is to display network connection, routing table and network interface information, allowing users to know which network connections are currently working.

Netstat -an

-a shows all sockets, including those that are listening.

-n Displays network connections by replacing names with network IP addresses.

Eight, SC

command Command line program used to communicate with the service control manager and services.

Sc delete Service name Location of the physical interface of the

switch

1) Find the corresponding MAC address from IP

On the PC: ping IP;

on arp -a SW: ping IP; sh arp |in IP

2) Find the physical interface

on the switch by MAC: sh mac add HHH

3) Determine the user uniqueness of the physical interface on

SW: sh mac dy int fa*/*

4) If it is not unique, query the information of cascaded switches on

SW: sh cdp n fa*/*

On SW: sh cdp n fa* /* de

5) Log in to the cascade switch and repeat steps 2 and 3

Original link: http://www.kubiji.cn/juhe-id6982.html

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326355261&siteId=291194637