Command Learning and Summary under ubuntu-- Network Management Command
1. Check the address of the network card according to IP
Arping 192.168.1.1
two。 Check the computer name according to IP
Nmblookup-A 192.168.1.20
3. View the current IP address
Ifconfig eth0 | awk'/ inet/ {split ($2m x, ":"); print x [2]}'
4. View the program currently listening to port 80
Lsof-I: 80
5. View the physical address of the current network card
Ifconfig eth0 | head-1 | awk'{print $5}'