Common Windows DOS command project deployments often use the

Source: Internet
Author: User
Tags nslookup

The first two days of deployment. The Netcore project, firstly, the production environment domain name is not accessible, and then to. Netcore Project IIS Deployment 502.5, in the inexplicable 500, in the troubleshooting of the project deployment problem when the DOS command used to organize, I believe that will be used later.

1.nslookup[commonly used in DNS queries]

You can specify the type of query, and you can check the lifetime of the DNS record and specify which DNS server to use for interpretation.

nslookup [hostname]

2.tracert [track IP address via router]

Use the tracert command in a command prompt (CMD) to determine the path that is selected when an IP packet accesses a target

TRACERT [hostname]

3.netstat [view native port usage]

Netstat-a   #查看本机所有占用的端口

Netstat-ano|findstr [What to look for]   #根据特定信息查看端口

4.net [Start or close the native service service]

NET Start/stop [servername]    #cmd requires Administrator privileges

NET user   #查看本机用户

5.sc [Management Services]

SC delete/query/stop/start/pause/config  [service-name]

6. View service Status

WMIC Service [DisplayName]

7.SystemInfo [view native hardware information]

SystemInfo

8.tasklist[fuzzy query native process]

tasklist/m shell*  #根据某个信息查询进程信息

9.taskkill[end process based on process name/process ID]

Taskkill/pid|/im   #进程号 or process name

10..netcore restarting the IIS service

net stop was/y net start w3svc

Common Windows DOS command project deployments often use the

Related Article

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.