SyntaxFix
Write A Post
Hire A Developer
Questions
Bash shell supports this out-of-box, e.g.
exec {stream}<>/dev/tcp/example.com/80 printf "GET / HTTP/1.1\nHost: example.com\nConnection: close\n\n" >&${stream} cat <&${stream}
To filter and only show some lines, run: grep Example <&${stream}.
grep Example <&${stream}