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.

Was this post helpful?