LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-07-2013, 08:13 PM   #1
UnixBacon
LQ Newbie
 
Registered: Mar 2013
Posts: 6

Rep: Reputation: Disabled
When I background something it still interrupts me (using &)


Like "app-get update &" still spits out stuff rapidly. Seemingly in the foreground. So does "wget http://blaablaa &".

Am I doing something wrong here or is it because I'm using a shoddy GUI style of Unix (an iPod )?
 
Old 03-07-2013, 08:19 PM   #2
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Rep: Reputation: 285Reputation: 285Reputation: 285
Any issue with &? If a background process is finishing repidly, then there's no issue. But if exits or closing , then you can use nohup to keep it running, as:
Code:
~$ nohup app-get update &

Last edited by shivaa; 03-07-2013 at 09:02 PM. Reason: Typo
 
1 members found this post helpful.
Old 03-07-2013, 08:41 PM   #3
UnixBacon
LQ Newbie
 
Registered: Mar 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by shivaa View Post
Any issue with &? If a background process is finishing repidly, then there's no issue. But if exits or clising , then you can use nohup to keep it running, as:
Code:
~$ nohup app-get update &


You sir are a genius!
"You learn something new everyday"
nohup for the win
 
  


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
Can anyone please explain about "Function call interrupts" entry in /proc/interrupts? cyclops.xmen Linux - Software 2 12-09-2009 12:13 PM
what is /proc/interrupts & /proc/irq/*/spurious mean? nesta Linux - Embedded & Single-board computer 2 06-16-2009 09:33 AM
Bash background (&) with control operators (&&) int0x80 Programming 1 02-11-2009 12:54 PM
no background in access manager & not shutting down pencil Mandriva 4 06-17-2006 11:32 AM
running a program in background of X using & Dachy Linux - General 1 09-13-2005 11:38 AM


All times are GMT -5. The time now is 04:47 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration