[Cialug] Starting two jobs at once
Barry Von Ahsen
barry at vonahsen.com
Tue Nov 27 16:23:41 CST 2012
On Nov 27, 2012, at 4:08 PM, Matthew Nuzum wrote:
> Thanks for the reply. One of my goals is to make it easy for new contributors to get started. Right now, they just need a few common development tools. In this case, Make and Python.
>
> Two things have come to mind, but I haven't tried them and I think they're both flawed:
>
> 1.
> Start a task and background it with &
> Start the foreground task and wait until it completes
> Kill the background task
>
> The prob is I'm not sure really how to kill a background task once it's in the background
>
you can use jobs and/or fg to manage background tasks, they're shell built-ins (csh and sh, at least)
you know when you forget the & and you have to ^Z then bg? fg is the opposite
-barry
More information about the Cialug
mailing list