"+" and "-" output of the Jobs command

linux

Solution

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

From here: http://www.linuxquestions.org/questions/linux-software-2/output-of-jobs-command-563880/

Problem

What does the "+" and "-" signs mean in the following output of the jobs command. ``` -bash-4.1$ jobs [1]- Running awk '{print $1,$2,$3,$4}' final_ped.ped > only_ped & [2]+ Running awk '{if($6==1 || $6==2) print $1,$2}' final_ped.ped > comp_list & ```

Original source

Related problems