Created
December 10, 2020 18:14
-
-
Save techie2000/2041c5fed7f66e7a1ff85982a3918667 to your computer and use it in GitHub Desktop.
whats my internal ip address
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
ip route get 8.8.8.8 | sed -n '/src/{s/.*src *\([^ ]*\).*/\1/p;q}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment