Serve current directory temporarily via web

[code lang=”bash”]python -m SimpleHTTPServer[/code]

Runs in the foreground a simple, single-threaded web server on port 8000 as the current user. Logging is to stdout/stderr, and a ctrl-c will stop the server. Great for temporarily sharing a directory.

Leave a Reply