This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to bring job to foreground?


On Tue, 22 Feb 2005, Matt Wilkie might have said:

> Hi,
> 
> I just suspended a short commandline script to the background using ctrl-z
> How do I bring it forward again? The bash prompt didn't come up after ctrl-z.
> The script is:
> 
>     for dir in *; do tar czf $dir.tgz $dir;done
> 
> If I open up another console I can see the processes are still active
> using 'ps -a'
> but the commands 'jobs, fg, bg' say there is nothing to control
> 
> thanks in advance for your time,
>  
> -- 
> -matt
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 

$ fg

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]