加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – 作业命令的“”和“ – ”输出

发布时间:2020-12-13 18:51:27 所属栏目:Linux 来源:网络整理
导读:参见英文答案 What do the suffixes “+” and “-” after the job id of background jobs mean?2个 “”和“ – ”符号在jobs命令的以下输出中的含义是什么. -bash-4.1$jobs [1]- Running awk '{print $1,$2,$3,$4}' final_ped.ped only_ped [2]+ Running
参见英文答案 > What do the suffixes “+” and “-” after the job id of background jobs mean?2个
“”和“ – ”符号在jobs命令的以下输出中的含义是什么.
-bash-4.1$jobs
 [1]-  Running                 awk '{print $1,$2,$3,$4}' final_ped.ped > only_ped &
 [2]+  Running                 awk '{if($6==1 || $6==2) print $1,$2}' final_ped.ped > comp_list &

解决方法

字符”标识将用作fg或bg实用程序的默认作业;也可以使用job_id%或“%%”指定此作业.字符’ – ‘标识当前默认作业退出时将成为默认作业;也可以使用job_id% – 指定此作业.

从这里:http://www.linuxquestions.org/questions/linux-software-2/output-of-jobs-command-563880/

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读