尤其是最后两个分别带有'-'和'+', 这到底是什么意思?
[1] Done php start.php bots/admin32.bot.php
[2] Done php start.php bots/admin36.bot.php
[3] Done php start.php bots/admin10.bot.php
[4] Done php start.php bots/admin11.bot.php
[5] Done php start.php bots/admin13.bot.php
[6] Done php start.php bots/admin3.bot.php
[7]- Done php start.php bots/admin4.bot.php
[8]+ Done php start.php bots/admin7.bot.php
[root@www2 robot]#
最佳答案
Job number
n
may be referred to as ‘%n
’. The symbols ‘%%
’ and ‘%+
’ refer to the shell's notion of the current job, which is the last job stopped while it was in the foreground or started in the background. A single ‘%
’ (with no accompanying job specification) also refers to the current job. The previous job may be referenced using ‘%-
’. If there is only a single job, ‘%+
’ and ‘%-
’ can both be used to refer to that job. In output pertaining to jobs (e.g., the output of the jobs command), the current job is always flagged with a ‘+
’, and the previous job with a ‘-
’.
在启动和停止作业时 Bash 的输出中,
[n]+
status
表示“工作%n
(也称为工作%+
)现在是状态”。
关于linux - 这些输出是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/884908/