0

I have got a Linux task that finishes and prints:

[6]- Done 

I have noticed that in the past it would print:

[6]+ Done

Is there any difference between + and -?

P̲̳x͓L̳
  • 3,615
  • 3
  • 29
  • 37
Jadiel de Armas
  • 8,405
  • 7
  • 46
  • 62

1 Answers1

2

man bash states:

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 -.

Therefore, the command with '+' is the most recent command sent to the background.

kai
  • 368
  • 1
  • 6