Created
June 15, 2017 15:59
-
-
Save chachan/5541be2c00f9b0e040ed7799a21f5e53 to your computer and use it in GitHub Desktop.
echo "hello world" on specific port
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
PORT=8000 | |
while true; do echo "hello world" | nc -l ${PORT}; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment