Last active
March 31, 2025 21:45
-
-
Save flacoshinobi/10937ef01cc867321feee4f55150ce27 to your computer and use it in GitHub Desktop.
Check inet connection using only echo command
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
# will return 0 if ok | |
echo > /dev/tcp/1.1.1.1/53; echo $? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment