ifconfig is the tool that helps Linux users to track down network problems. The command displays all network adapters and their associated IP addresses.
For this there is information about the received and sent data packets, about collisions as well as interrupt and address of the network card.
You need root privileges for this command .