Skip to content

Instantly share code, notes, and snippets.

@meyju
Last active February 3, 2016 07:08
Show Gist options
  • Save meyju/407dd4f9c6b3cad3209c to your computer and use it in GitHub Desktop.
Save meyju/407dd4f9c6b3cad3209c to your computer and use it in GitHub Desktop.
Showing all IPv4 and IPv6 adresses on a server
ip -o a|grep -v mtu|cut -d' ' -f2,7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment