Linux命令jobs小记


命令使用过程中,输出中总是会带两个符号:+ 和 -,如:
[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/
posted @   xiaoxi666  阅读(273)  评论(0编辑  收藏  举报
编辑推荐:
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
· 一个奇形怪状的面试题:Bean中的CHM要不要加volatile?
· [.NET]调用本地 Deepseek 模型
· 一个费力不讨好的项目,让我损失了近一半的绩效!
阅读排行:
· PowerShell开发游戏 · 打蜜蜂
· 在鹅厂做java开发是什么体验
· 百万级群聊的设计实践
· WPF到Web的无缝过渡:英雄联盟客户端的OpenSilver迁移实战
· 永远不要相信用户的输入:从 SQL 注入攻防看输入验证的重要性
TOP
点击右上角即可分享
微信分享提示