linux通用技巧集合

1.将程序置为后台进程运行,关闭终端程序继续运行

nohup ./test.sh & 

 2.列出当前后台运行的进程列表包括进程id

jobs -l 

 3.根据进程id杀掉该进程

kill -9 pid
原文地址:https://www.cnblogs.com/franson-2016/p/9087818.html