bvqrag
Last Updated: February 25, 2016
·
477
· 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

17921

I think you miss something

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

over 1 year ago ·
17954

Updated. Thanks :)

over 1 year ago ·