Review your favorite Linux distribution.
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.


  Search this Thread
Old 05-05-2005, 03:56 AM   #1
Registered: Oct 2002
Location: Ayrshire, Scotland
Distribution: Suse(home) RHEL (Work)
Posts: 263

Rep: Reputation: 30
What is the + or - on the completion of a bg job?

This may not be unique to solaris, but that's where I've seen it...

[2] Done ./ <input$i >>output$i 2>&1
[5]+ Done ./ <input$i >>output$i 2>&1
[1] Done ./ <input$i >>output$i 2>&1
[3]- Done ./ <input$i >>output$i 2>&1
[4]+ Done ./ <input$i >>output$i 2>&1

What is the plus or minus sign displayed above?

Old 05-05-2005, 07:06 AM   #2
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint
Posts: 9,703

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
The plus sign represent the "current" job (most recent started or restarted), while minus is for the "previous" job (first non current job).
They are shortcuts to job numbers (the ones between square brackets) but I think almost nobody is really using them ...
Old 05-05-2005, 07:10 AM   #3
Registered: Oct 2002
Location: Ayrshire, Scotland
Distribution: Suse(home) RHEL (Work)
Posts: 263

Original Poster
Rep: Reputation: 30
OK, thanks for that...



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
emacs, code completion phoenix7 Programming 5 09-22-2005 09:51 AM
tab completion with scp fsbooks Linux - General 5 04-07-2005 03:13 PM
Amigo-Xp nearing completion gnashley Amigo 4 03-08-2005 12:54 AM
Anjuta and code completion supermatt Linux - Software 0 06-17-2004 09:41 PM
apt-get tab completion atheist Debian 6 06-11-2004 08:25 PM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 02:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration