Basic knowledge of Linux network

Source: Internet
Author: User

Ifconfig Viewing network information
Ifdown network card device name stop a network card device
Ifupnetwork card device name turn on a network card device
To View network status:Netstat t lists the TCP protocol Port U lists the UDP protocol port n does not use the domain name with the service name, while using the IP address and port number L lists only the network links listed in the Listening State Network Service A
Common matching Netstat-tuln Netstat-tulna contains the network services (such as sockets) used by the current server itself
Established indicates that the link is in use
See how many actions are in the link: netstat-al | grep established | Wc-l
Gateway:View Gateway: Netstat-rn route-n Modify Gateway (temp) route add default GW 192.168.1.1
DNS:to view DNS: nslookup > Server > Exit (exit)
nslookup www.baidu.com (URL)



Basic knowledge of Linux network

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.