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 ...

What's this?

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

meta