My personal blog..

All about IT and other things. Enjoy!

Simple HTTP Server

Serve Up Files Easily With the Python SimpleHTTPServer

Have you ever needed to quickly share a folder with another machine? Rather than deal with samba, nfs, or apache, you can just run a simple command instead.

python -m SimpleHTTPServer 8080

You can then connect from another machine on the 8080 port like this:

http://ipaddress:8080/

And you’ll be able to download any of the files from the directory.

linux-terminal-debian

Posted in Debian, How to, Linux, Uncategorized