• 作业类型( Type of Job )– 前台作业(foreground job) : 需通过I/O与用户交互的作业– 后台作业(background job): 运行时间长, 不需显示, 可通过文件转存或重定向方式获取信息、 ...
基于112个网页-相关网页
清单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..
如果fg命令不带有任何作业指示,该作业将出现在前台。
This job will come to the foreground if no job specification is given with 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.
应用推荐