Serve current directory temporarily via web

 python -m SimpleHTTPServer 9914

This command runs a simple single-threaded web server on any port you choose as the current user. Logging is to stdout/stderr, and a ctrl-c will stop the server. Great for temporarily sharing a directory. All data in the folder will be visible, including (dot) .files and they can be downloaded, but not opened via the browser.

If you are behind a firewall, make sure to open the port you are using.

g33kadmin

I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.