【发布时间】:2017-01-26 09:12:18
【问题描述】:
我从终端在后台启动了几个进程。
lars@UbuntuVM:~$ xeyes &
[1] 8553
lars@UbuntuVM:~$ xclock -update 1 &
[2] 8554
lars@UbuntuVM:~$ jobs
[1]- Running xeyes &
[2]+ Running xclock -update 1 &
任务是将其中一个置于前台,将其挂起,然后将其带回后台。但是,当我将其中一个带到前台时,我无法输入任何新命令。如果我输入 ^C,它只会一起终止进程。
lars@UbuntuVM:~$ fg %1
xeyes
How
do
I
get
back
from
here?
那么当移动到前台时如何继续暂停当前进程?
【问题讨论】:
标签: ubuntu process terminal background foreground