70.8k views
5 votes
Which commands would provide the ip address, network prefix, and interface?

User Maddesa
by
8.1k points

1 Answer

5 votes

Answer:

The 'ip addr show' command can be used to display the IP address, network prefix, and interface information for all network interfaces. Alternatively, 'ip addr show <interface_name>' can be used to display the same information for a specific network interface.

User Stav Bodik
by
8.4k points