Linux工作管理
Linux工作管理
😄 Written by Zak Zhu
参考
- 马哥linux视频
- RHCE培训(RH033-Unit10)
- 今孝/nohup详解(https://www.cnblogs.com/jinxiao-pu/p/9131057.html)
JOB CONTROL
-
Run a process in the background
COMMAND &
-
Temporarily halt a running program
use
CTRL-Z
(to background and stop) -
Manage background or suspended jobs
- List job numbers and names:
jobs -l
- Resume in the background:
bg %JOB_NUM
- Resume in the foreground:
fg %JOB_NUM
- Send a signal:
kill -SIGNAL %JOB_NUM
- List job numbers and names:
NOHUP
nohup COMMAND &> /tmp/COMMAND.out &