Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-26-2003, 07:02 PM   #1
LQ Newbie
Registered: May 2003
Posts: 16

Rep: Reputation: 0
background processes

in the bash shell, is there a command to run a program in the background, so i can continue about my work without opening a new session?

Old 07-26-2003, 07:25 PM   #2
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Use &
For instance
gimp &
Old 07-26-2003, 07:34 PM   #3
Registered: Jul 2003
Location: Slovenia
Distribution: Slackware & FreeBSD
Posts: 209

Rep: Reputation: 30
And if you wan't to put a running process in the background (let us say that you are using less to see a file), press "Ctrl Z" which will stop the process and than type:

which will put it in background. To bring it back type:

find the number of a job corresponding to the process and type:
fg %number

Old 07-27-2003, 12:27 PM   #4
LQ Newbie
Registered: May 2003
Posts: 16

Original Poster
Rep: Reputation: 0


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
send commands to background processes chatterbug89 Linux - General 2 07-13-2005 03:55 PM
processes in background zetsui Linux - General 8 06-14-2003 12:52 PM
Shell scripting and background processes - help needed. trafalgar Programming 3 06-08-2003 09:15 AM
bash: interaction with background processes ... cdex Programming 5 08-11-2002 02:42 PM
background processes hakum Programming 1 04-08-2002 10:29 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:41 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
Open Source Consulting | Domain Registration