Linux工作管理

Linux工作管理

😄 Written by Zak Zhu

参考

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

NOHUP

nohup COMMAND &> /tmp/COMMAND.out &
posted @ 2019-10-07 23:20  ZakZhu  阅读(144)  评论(0编辑  收藏  举报