首页 > 系统服务 > 详细

Linux命令jobs小记

时间:2019-10-18 16:04:20      阅读:58      评论:0      收藏:0      [点我收藏+]

命令使用过程中,输出中总是会带两个符号:+ 和 -,如:
[1]   7893 Running                 gpass &
[2]   7904 Running                 gnome-calculator &
[3]-  7955 Running                 gedit fetch-stock-prices.py &
[4]+  7958 Stopped                 ping cyberciti.biz

它们的含义如下:

%Number :
Use the job number such as %1 or %2. %String : Use the string whose name begins with suspended command such as %commandNameHere or %ping. %+ OR %% : Refers to the current job. %- : Refers to the previous job.


具体可参见:https://www.geeksforgeeks.org/process-control-commands-unixlinux/

Linux命令jobs小记

原文:https://www.cnblogs.com/xiaoxi666/p/11698517.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!