Wednesday, February 22, 2017

Serving Web Pages `NetCat`

You can even use netcat to act as a web server:
while true; do nc -l -p 8080 < index.html ; done
would serve the page index.html until you close the terminal window.

No comments:

Post a Comment