Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-14-2007, 10:43 PM   #1
Registered: Apr 2004
Location: Baltimore, MD
Posts: 681

Rep: Reputation: Disabled
background process popping up in foreground

I am running bash v3.2.17 and when I try to run a process like fetchmail in the background (fetchmail &) it just pops up in the foreground saying how many messages it is downloading and if I hit the return key I get the shell prompt for a second and then fetchmail pops up again - is there any way to put the process in the background permanently until the job is done?
Old 12-15-2007, 12:53 AM   #2
Registered: Mar 2007
Location: Nebraska
Distribution: CentOS
Posts: 82

Rep: Reputation: 15
The output of some commands are still to the standard output even when ran in the background. You can usually resolve this by specifying and output file.

To output to a file
fetchmail > ./filename &
or to discard the output
fetchmail > /dev/null &

Last edited by wit_273; 12-15-2007 at 12:54 AM.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
tty background/foreground color neo77777 Linux - General 11 11-25-2014 09:59 AM
Foreground and Background program switching isolvesystems Linux - Newbie 2 10-03-2007 10:30 AM
Can Linux run in background with Win at foreground achtung_linux Linux - General 5 02-10-2007 09:54 PM
How to bring a background diamon to foreground lieuquocdat Linux - Software 8 07-20-2006 07:53 AM
Background and Foreground Datamike Linux - Software 2 01-20-2006 05:20 PM

All times are GMT -5. The time now is 12:04 PM.

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