shell

快速启动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 &

posted @ 2018-02-26 10:04  devops运维  阅读(266)  评论(0编辑  收藏  举报
python