Created
September 13, 2017 12:42
-
-
Save clamytoe/6d0bd0b112fc9f5eb22e7cf4dd8b06da to your computer and use it in GitHub Desktop.
Script to quickly check your active IP addresses.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| echo $(ifconfig | grep 'inet addr:' | grep -v '127.0.0.1' | cut -d: -f2 | awk '{print $1}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment