Reputation: 131
I'm new to netcat and trying to use the same line in the busybox as i do in my pc.
I want to know how I can change the redirection operator.
nc -w 30 IP 3031 -e <<<"info"
this is the error
-sh: syntax error: redirection unexpected
I think it doesn't like <<<, but what should I change it to?
btw this script throws the information it gets to the screen, by sending "info"
Upvotes: 1
Views: 885