How do I see interfaces in Linux?

Ngô Thị Vân

New member
How do I see interfaces in Linux?
Answer
Identify Network Interfaces on Linux
  1. IPv4. You can get a list of the network interfaces and IPv4 addresses on your server by running the following command: /sbin/ip -4 -o a | cut -d ‘ ‘ -f 2,7 | cut -d ‘/’ -f 1. …
  2. IPv6. …
  3. Full output.
 

Tìm kiếm

Back
Top