Windows common commands (Network command chapter)

Source: Internet
Author: User
Tags echo b

  • To test the IP connection:
    测试本地:ping  127.0.0.1测试网关:ping  192.168.8.1测试外网:ping  www.baidu.com
  • To view the local network card address:
    ipconfig
  • Resolve Address:
    查看:arp  -a添加:arp  -s  ip地址  物理地址删除:arp  -d  ip地址
  • Open your browser:
    start  www.baidu.com
  • To shut down/restart your computer:
    立即关机:shutdown  -s  -t立即重启:shutdown  -r  -t指定时间:shutdown  -s  -t  60取消关机/重启操作:shutdown  -a
  • To view a process:
    查看所有:tasklist指定进程:tasklist  |  find  /i  "qq"
  • To close a process:
    按名称:taskkill  /im  qq按进程id:taskkill  /pid  80
  • Cross-line input:
    echo  a^b^c输出:abc
  • Enter multiple lines of text:
    echo a & echo b & echo c输出:abc
  • To set an expression variable:
    set  /a  val=5%3
  • Windows common commands (Network command chapter)

    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.