To verify the network connectivity and diagnose any issues, you can view the network interface settings, such as interface status, IP address, and other network parameters. You can view the settings of all interfaces or a specific interface by using the ifconfig command.
If you want to view... | Enter the following command... |
---|---|
All interfaces | ifconfig -a |
A specific interface | ifconfig interface_name |