Once you succeed in getting the job into the foreground, you can either terminate (or kill) it, or take some other action, in this case, let's use Ctrl-c to terminate our 'clock.'
在将作业放入前台之后,您可以终止它,或者采取其他操作。在本例中,我们使用Ctrl - c终止时钟。
2
Listing 3 shows how to bring the xclock job back to the foreground and suspend it using two forms of the fg command..
清单3显示如何将xclock作业带回到前台,并使用两种形式的fg命令暂停它。
3
Restarting it with fg also brings the job right back to the foreground, and you no longer have a shell prompt.