Created
March 16, 2018 08:58
-
-
Save hindenbug/fa5a4e2f60e6410e0ea6dff89fdf3fc9 to your computer and use it in GitHub Desktop.
Today I learned
This file contains 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
/sbin/ifconfig eth0 | grep 'inet addr' | cut -d: -f2 | awk '{print $1}' | |
hostname -I | awk '{print $3}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment