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 Reply

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