cd /file/dir && python -m SimpleHTTPServer 8080 #用浏览器访问8080端口 over!
用python快速通过浏览器分享文件
原文:http://www.cnblogs.com/51reboot/p/4006035.html