Answer the question
In order to leave comments, you need to log in
What is the equivalent of ipconfig in Linux?
I need to find out what network settings my device (android tv) received from the DHCP server, such as ip, gateway, mask, dns server and dhcp server name.
I tried ifconfig, but if I just enter this command, I can only find out the ip and interface mask, maybe I don’t know what keys to specify.
Answer the question
In order to leave comments, you need to log in
there is no complete analogue of ipconfig
information is scattered in several places
address:
ifconfig
ip a
routing:
route
ip r
DNS:
cat /etc/resolv.conf
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question