Sometimes, you want to share your local files with other users by a web service. The following command from Python get your work done without installing a complex software.

Python 3:

$ python -m http.server
Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ...

Python 2:

$ python -m SimpleHTTPServer
Serving HTTP on 0.0.0.0 port 8000