(1) Send message to User: Write
Example: Write admin (ctrl+d end)
(2) Broadcast information: wall
Example: Wall Hello world!
(3) Test network connectivity: Ping
-C Send Times
Example: Ping-c 3 192.168.1.188
(4) View, set network card information: ifconfig
Example: Ifconfig
Ifconfig eth0 192.168.1.188
(5) View, send e-mail: Mail
Example: Mail
Mail Admin Send Message
H View List
D 3 Delete 3rd
(6) View all reboots, user logon hours: Last
(7) View all users last login time: Lastlog
-U view only one user UID login information
Example: Lastlog-u 0
(8) Show the path of the packet to the host, trace the route: traceroute
Example: Traceroute www.baidu.com
(9) Display network related information: netstat
-T TCP protocol
-U UDP protocol
-L Monitoring
-R Routing
-N Display IP address and port number
-P Displays the program name that establishes the associated link
Example: NETSTAT-TLNP viewing the port of native listening
Netstat-an View all network connections on this computer
Netstat-rn viewing the native routing table
Linux notes (vii)-Network commands