Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Last night, before abandoning my computer for the evening, I started a bunch of compiler jobs so they'd be ready in the morning, using make -f alpha.mak &>alpha.out &. When I came back and hit return, I saw the following output:

[1]   Done                    make -f alpha.mak &>alpha.out
[2]-  Done                    make -f beta.mak &>beta.out
[3]+  Done                    make -f gamma.mak &>gamma.out

My question: What do the + and - symbols mean in that output?

I'm using bash on RedHat 6.

share|improve this question
add comment

1 Answer 1

up vote 5 down vote accepted

According to the Bash Reference Manual: Job Control:

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.