tvlad Posted October 26, 2002 Report Share Posted October 26, 2002 If i connect with putty to a pc that has linux, and i put lynx to make a large download, how can i make sure that once i close putty, lynx will continue to download. PS:lynx is opened within putty. Quote Link to comment Share on other sites More sharing options...
qeldroma Posted October 28, 2002 Report Share Posted October 28, 2002 Make it "at" :wink: Add it to the "at" job list, so it'll be done by the system. Quote Link to comment Share on other sites More sharing options...
fuzzylizard Posted October 28, 2002 Report Share Posted October 28, 2002 I don't think you can do this. Once you open lynx, it is linked to your account. Therefore, in order to close your account, you need to kill all active processes. This would include the download. I have tried adding the ampersand after the command and it simply stops me from exiting my account until the process is finished. Quote Link to comment Share on other sites More sharing options...
tvlad Posted October 30, 2002 Author Report Share Posted October 30, 2002 The same happened to me, fuzzylizard. Quote Link to comment Share on other sites More sharing options...
paul Posted October 30, 2002 Report Share Posted October 30, 2002 yes it can be done. firstly .. don't use lynx, use wget for the download use lynx to get a url perhaps, but then use wget to download next check this out man nohup nohup means ignoring hangup signals. try this: nohup wget -c http://domain/filename.iso & then close putty, log back on with putty then do: ps -U myusername and looky looky ... wget is still running :-) go to where you downloaded the file and do: ll filename.iso a few times and you will notice the file is getting bigger if you want to watch the progress (as I often do) try this tail -f nohup.out here you will see all the normal output that would normally show up on screen Quote Link to comment Share on other sites More sharing options...
fuzzylizard Posted October 30, 2002 Report Share Posted October 30, 2002 Cool, Thanks for the info Paul. Gotta try this sometime. Quote Link to comment Share on other sites More sharing options...
Guest SeanTobin Posted November 1, 2002 Report Share Posted November 1, 2002 Take a look at screen. Its a nice utility that allows you to create, detach, and later reattach screens that will live on even after you disconnect your ssh session. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.