Common cmd command summary

1. Common Operation

cls # clear screen 
set # viewing environment variable
cd # handover working directory (disc changer: Direct Input C: :) or D
CD .. # return to parent directory
exit # cmd Close Window

2. about Python

pip install the package name HTTP -i: // pypi.douban.com/simple --trusted-Host pypi.douban.com 
# install python package, several image URL:

Ali cloud http://mirrors.aliyun.com/pypi/simple/

China University of Science and Technology https://pypi.mirrors.ustc.edu.cn/simple/

Watercress (douban) http://pypi.douban.com/simple/

Tsinghua University https://pypi.tuna.tsinghua.edu.cn/simple/

University of Science and Technology of China http://pypi.mirrors.ustc.edu.cn/simple/

Open python python # (if installed simultaneously. 2 and 3, may be modified in the Python installation is python2.exe to distinguish python.exe) 
Exit () or quit () or Ctrl + z + Enter key # key to exit the program python (when you run python in cmd)

3. Information Network

ipconfig # Check the machine current ip address 
ping URL # see if I can at this URL

4. Open the common tools

calc # calculator 
notepad # Notepad 
write # WordPad 
explorer # Explorer 
regedit # Registry Editor

The time off

-s the shutdown - T # seconds after the shutdown of the number of seconds 
the shutdown -R & lt - T seconds # restarted after a set number of seconds 
the shutdown -a # undo shutdown / restart command

 

Guess you like

Origin www.cnblogs.com/maoerbao/p/11505785.html