Run the command: Execute o comando:
ip address show Endereço IP show
In the output you will find lines like these: Na saída você irá encontrar linhas como estas:
inet 127.0.0.1 /8 scope host lo inet 127.0.0.1 / 8 âmbito acolhimento 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 alcance global eth1

The highlighted portions are your (ipv4) ip addresses. As porções são destacadas seu (ipv4) endereços IP.

The /8 or /24 represents your network. A / ou 8 / 24 representa a sua rede. /8 means your subnet mask is 255.0.0.0 and /24 means your subnet mask is 255.255.255.0. / 8 significa que sua máscara sub-rede é 255.0.0.0 e / 24 significa que sua máscara sub-rede é 255.255.255.0. You will not have a subnet typically for a point-to-point connection. Você não terá uma sub-rede normalmente por um ponto-a-ponto conexão.

Note: The lines containing inet6 provides the ipv6 addresses. Nota: As linhas contendo inet6 prevê a endereços IPv6.