Please explain the output from the jobs command

commandjobsprocess

When I ran jobs command I see the following output :

[1]  - Suspended                     ./startWebLogic.sh
[2]  + Suspended (signal)            top
  1. What does -/+ indicate in the second column ?
  2. What is the difference between Suspended and Suspended(signal) ?

Best Answer

From man pages:

The character '+' identifies the job that would be used as default for the fg or bg utilities; this job can also be specified using the job_id %+ or "%%" . The character '-' identifies the job that would become the default if the current default job were to exit; this job can also be specified using the job_id %-.

Related Question