Last Updated: February 25, 2016
·
689
· kn0tch

TCP server in a single line

For the love of Unix

while true; do echo "Hello world" | nc -l 1500; done

2 Responses
Add your response

I think you miss something

while true; do echo "Hello world"; done | nc -l 1500 </code>

over 1 year ago ·

Updated. Thanks :)

over 1 year ago ·