Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Command Learning and Summary under ubuntu-- Network Management Command

Shulou Source: shulou.com Published: 2022-06-01 02:39:51 10月04日 Update

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}'

Tags: Address network card command physics computer program port monitor network network management learning management Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL vpn Docker OPPO Reno Shulou Tech Info