Skip to content

Instantly share code, notes, and snippets.

@tairov
Created March 10, 2022 16:16
Show Gist options
  • Save tairov/afa87d5bee234a9013148b9feb872323 to your computer and use it in GitHub Desktop.
Save tairov/afa87d5bee234a9013148b9feb872323 to your computer and use it in GitHub Desktop.
while true; do printf 'HTTP/1.1 200 OK\n\n%s' "pong $(date)" | nc -l 8888; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment