Skip to content

Instantly share code, notes, and snippets.

@matinrco
Last active September 8, 2019 13:49
Show Gist options
  • Save matinrco/2c0dd4e7479feb88c40b1a7f757bd549 to your computer and use it in GitHub Desktop.
Save matinrco/2c0dd4e7479feb88c40b1a7f757bd549 to your computer and use it in GitHub Desktop.
ip - commands that I use most
# View all network interfaces
ip a
# View all interfaces traffic-volume
ip -s link show
# Find your gateway IP
ip route
ip route | grep default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment