快速启动FTP下载服务器

nohup python -m SimpleHTTPServer 8000  > myout.file 2>&1 &

#!/bin/bash
kill `ps -ef | grep http.server| grep -v grep|awk '{print $2}'`
cd /home/liuyoushui/tmp_phone/phone_data && nohup python3 -m http.server 8000 2>&1 &

原文地址:https://www.cnblogs.com/liuyoushui/p/8471700.html