Local web server
How to start a simple web server
python -m http.server $PORT
# ex: python -m http.server 8040php -S localhost:$PORT -t $DIR
# ex: php -S localhost:8000 -t /var/lib/wwwruby -run -e httpd . -p $PORT
# ex: ruby -run -e httpd . -p 8080while true ; do nc -l 80 <$HTMLFILE ; done
# while true ; do nc -l 80 <index.html ; done Last updated