ad-hoc webserver from the shell

Here is a neat trick to make the current directory hierarchy available online:



$ cd /tmp

$ python -m SimpleHTTPServer

Serving HTTP on 0.0.0.0 port 8000 ...

Leave a comment

Your email address will not be published. Required fields are marked *