LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 07-26-2003, 08:02 PM   #1
digit
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?

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

Rep: Reputation: 56
Use &
For instance
gimp &
 
Old 07-26-2003, 08:34 PM   #3
lfur
Member
 
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:
bg

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

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

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

Original Poster
Rep: Reputation: 0
thanks!
 
  


Reply


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 04:55 PM
processes in background zetsui Linux - General 8 06-14-2003 01:52 PM
Shell scripting and background processes - help needed. trafalgar Programming 3 06-08-2003 10:15 AM
bash: interaction with background processes ... cdex Programming 5 08-11-2002 03:42 PM
background processes hakum Programming 1 04-08-2002 11:29 PM


All times are GMT -5. The time now is 06:48 AM.

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