What does this weekend mean?
especially the last two with '-' and '+' respectively, what does this mean on earth?
[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]#
a source to share
In the Bash Reference Manual ,
The job number
n
can be called "%n
. The characters'%%
and '%+
refer to the shell view of the current job, which is the last job that was stopped while it was in the foreground or started in the background. A single'%
(no accompanying job specification) also refers to the current job A previous task can be referenced using '%-
. If there is only one task, "%+
" and "%-
can be used to refer to that task. In the output related to jobs (for example, the output of the jobs command), the current job is always marked as "+
and the previous job is"-
.
Bash output when starting and stopping jobs,
[n]+
status
means: "job %n
(aka job %+
) now has status".
a source to share
I think your command contains a symbol &
that causes the command to run in the background. When the command completes, it prints this output.
Example:
$ echo 1 &
[1] 16021
$
[1]+ Done echo 1
To prevent this from happening, specify the symbol &
. This is probably part of the url in your case, so you can use:
$ wget "http://www.example.com/index.php?a=1&b=2"
As for the +
and signs -
, they refer to the current and previous tasks, respectively. For more information see this page on job management in bash .
a source to share