window 命令行

清屏

  cls

启动服务

  net start 服务名(nexus、mysql

关闭服务

  net stop 服务名(nexus、mysql)

删除服务

  sc delete 服务名

  如果服务名有空格,加引号,如 sc delete "nexus "

查看当前计算机开启的端口

netstat -an 

posted @ 2018-07-26 21:56  zhuangrunwei  阅读(101)  评论(0编辑  收藏  举报