Created
October 11, 2015 12:48
-
-
Save holly/0fd148c1050c8426f405 to your computer and use it in GitHub Desktop.
oneliner http server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while true; do echo -n -e "HTTP/1.1: 200 OK\n\nHello world\n" | nc -l 8080; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment