-
Notifications
You must be signed in to change notification settings - Fork 1
netcat
dozens edited this page Nov 7, 2025
·
3 revisions
while true; do printf "HTTP/1.1 200 OK\n\n\%s" "$(pandoc index.md)" | nc -l 8888; done
catcher: nc -l 4444 > newfile
thrower: nc <address> 4444 < myfile
https://dev.to/leandronsp/building-a-web-server-in-bash-part-i-sockets-2n8b