
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1 In my case I'm only interested in my wifi so i'm going to use the GENERAL.DEVICE name of my GENERAL.TYPE: wifi and: nmcli dev show wlp5s0 Or to also see the network device type: nmcli dev show | grep -E 'DEVICE|TYPE' You can first list all your network interface devices to get the device name: nmcli dev show | grep DEVICE However you can use nmcli: nmcli dev show eth0


Unfortunately, and as Marty Fried mentions in his answer, ifconfig is hard to extract this information (I'm not even sure it has it at all) so I would say ifconfig and ip addr show are not really equivalent commands to ipconfig because they are missing all this information. Still, use nmcli as an equivalent command as Marty Fried suggests.Ĭoming from Windows, when you do ipconfig you probably expect to see a bunch of information such as the network interfaces, ipv4, ipv6 addresses, dns server, default gateways etc.
