Skip to content

Instantly share code, notes, and snippets.

@zulhfreelancer
Created June 3, 2024 02:05
Show Gist options
  • Save zulhfreelancer/5fb609cde34b03f7b880d5b9f01357a9 to your computer and use it in GitHub Desktop.
Save zulhfreelancer/5fb609cde34b03f7b880d5b9f01357a9 to your computer and use it in GitHub Desktop.
How to displays a brief summary of all IPv4 addresses assigned to the network interfaces Linux system?

How to displays a brief summary of all IPv4 addresses assigned to the network interfaces Linux system?

Command:

ip -4 -br a

Sample output:

# ip -4 -br a
lo               UNKNOWN        127.0.0.1/8
eth0@if28        UP             172.17.0.2/16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment