知乎專欄 | 多維度架構 | 微信號 netkiller-ebook | QQ群:128659835 請註明“讀者” |
usage: fg [job_spec]
$ fg 2
usage: bg [job_spec ...]
$ cp -r /usr/ /tmp/ Ctrl + Z [1]+ Stopped cp -r /usr/ /tmp/ $ bg [1]+ cp -r /usr/ /tmp/ & $ fg cp -r /usr/ /tmp/
nohup command > myout.file 2>&1 & nohup command >/dev/null 2>/dev/null & nohup command &>/dev/null
You may using 'jobs' to display task.
and using 'fg %n' to close that.