From: Ryan Dlugosz Date: 2004-02-03T12:50:49+09:00 Subject: try screen (was: Re: shell scripts in background (with &) - why would they stop?) On Mon, 2004-02-02 at 20:12, Zach Dennis wrote: > >nohup ./processFiles.rb& > >exit nohup is a very handy command... Another very useful utility for this is called screen. Once you start screen, you've basically got a set of terminals within a terminal & you can even "detach" from screen, log out, and come back later & reattach to your session. Kind of like interactive nohup for your entire session. just type 'screen -R' to start it (the -R will reattach if possible, or just create a new one). Some basic screen commands (each begins with a CTRL+a): ctrl+a c : new session ctrl+a 0 ... 9 : switch between sessions ctrl+a ctrl+a : bounce between two sessions ctrl+a w : list open sessions ctrl+a d : detach from screen; sessions continue to run, even if you log out. when you log back in, start screen with -R to reattach to your session. man screen for even more cool stuff. http://www.gnu.org/software/screen/screen.html Amaze your friends today! :) -Ryan