LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   When I background something it still interrupts me (using &) (https://www.linuxquestions.org/questions/linux-newbie-8/when-i-background-something-it-still-interrupts-me-using-and-4175453201/)

UnixBacon 03-07-2013 08:13 PM

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 :p )?

shivaa 03-07-2013 08:19 PM

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 &

UnixBacon 03-07-2013 08:41 PM

Quote:

Originally Posted by shivaa (Post 4907131)
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


All times are GMT -5. The time now is 09:36 AM.