Created
March 15, 2022 05:11
-
-
Save brain64bit/e714e026caa0f3c9aeb5fb3fd8e3373f to your computer and use it in GitHub Desktop.
Get public subnet class B of my IP
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
echo "$(wget --timeout=30 http://ipinfo.io/ip -qO - | cut -d"." -f1-2).0.0" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment