Skip to content

Instantly share code, notes, and snippets.

@aromig

aromig/myip.sh

Created Jul 26, 2018
Embed
What would you like to do?
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