查看文件内容- 删除某个运行程序的所有进程-nohup后台执行程序

1 查看文件内容:
tail -f test.txt
2 查看端口
netstat nlp
3 删除某个运行程序的所有进程
ps -ef|grep translateService.py|grep -v grep|cut -c 9-15|xargs kill -9
4 nohup后台执行程序
nohup python translateService.py

posted @ 2017-11-29 17:51  wdan2016  阅读(909)  评论(0编辑  收藏  举报