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