ad-hoc webserver from the shell

May 10th, 2011 § 0 comments

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 *

What's this?

You are currently reading ad-hoc webserver from the shell at Dan O'Huiginn.

meta