4
1
I am trying to devise a one-liner to send text to a simple echo server - but multiple connections in parallel. This is what I'm trying:
echo -e A,B,C,D | xargs -d, -i -P 4 echo {} | nc localhost 7000
However, it doesn't quite work. The server receives four connections but no data ("null").
What is the correct xargs and netcat command here?