Simple shell script to send socket message

PHOTO EMBED

Wed Sep 28 2022 08:37:33 GMT+0000 (UTC)

Saved by @KobeLenjou #bash #tcp #socket

exec 3<>/dev/tcp/hostname/port
echo "request" 1>&3
response="$(cat <&3)"
content_copyCOPY

https://unix.stackexchange.com/questions/336876/simple-shell-script-to-send-socket-message