Run the command: Eseguire il comando:
ip address show indirizzo IP mostra
In the output you will find lines like these: In uscita troverete le linee come queste:
inet 127.0.0.1 /8 scope host lo inet 127.0.0.1 / 8 campo di applicazione host lo
inet 192.168.1.10 /24 brd 192.168.1.255 scope global eth1 inet 192.168.1.10 / 24 brd 192.168.1.255 portata globale eth1

The highlighted portions are your (ipv4) ip addresses. Evidenziata porzioni sono le tue (IPv4) indirizzi IP.

The /8 or /24 represents your network. / 8 o / 24 rappresenta la vostra rete. /8 means your subnet mask is 255.0.0.0 and /24 means your subnet mask is 255.255.255.0. / 8, significa che la tua maschera di sottorete è 255.0.0.0 e / 24 significa che il tuo maschera di sottorete è 255.255.255.0. You will not have a subnet typically for a point-to-point connection. Non si ha la subnet in genere per un punto a punto di connessione.

Note: The lines containing inet6 provides the ipv6 addresses. Nota: Le linee contenenti inet6 prevede la indirizzi IPv6.