Skip to content

Instantly share code, notes, and snippets.

@aromig
Created July 26, 2018 15:43
Show Gist options
  • Save aromig/a7b6b912130be67d14d4beb4f91aaad8 to your computer and use it in GitHub Desktop.
Save aromig/a7b6b912130be67d14d4beb4f91aaad8 to your computer and use it in GitHub Desktop.
Displays my ip addresses
#!/bin/bash
# Displays my ip addresses
ifconfig | grep "inet " | cut -f2 -d " "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment