清单3显示如何将xclock作业带回到前台,并使用两种形式的fg命令暂停它。
Listing 3 shows how to bring the xclock job back to the foreground and suspend it using two forms of the fg command..
按Control - Z可以暂停正在运行的作业;输入bg和fg分别在后台和前台运行作业;输入jobs管理作业列表。
Press Control-Z to suspend a running job; type bg and fg to run a job in the background and foreground, respectively; and type jobs to manage the list of jobs.
如果fg命令不带有任何作业指示,该作业将出现在前台。
This job will come to the foreground if no job specification is given with the fg command.
应用推荐