Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi all! We have been experiencing an issue on site where threads have been missing the latest postings. The platform host Vanilla are working on this issue. A workaround that has been used by some is to navigate back from 1 to 10+ pages to re-sync the thread and this will then show the latest posts. Thanks, Mike.
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

wget question

  • 09-01-2008 5:16pm
    #1
    Registered Users, Registered Users 2 Posts: 1,227 ✭✭✭


    Hey guys,

    I have a ubuntu server at home in my house and I can ssh from work to it.

    I used the command wget url to download a very large iso file. The problem is, I'm going to leave work in an hour and it won't have finished downloading. Is there a way for me to wget a file and then logout but my machine at home will continue to download the file?

    Thanks,
    Steve


Comments

  • Closed Accounts Posts: 6,151 ✭✭✭Thomas_S_Hunterson


    use the nohup command

    Basically
    nohup wget [fileurl] &

    The & backgrounds the process automatically


  • Registered Users, Registered Users 2 Posts: 1,227 ✭✭✭stereo_steve


    ok thanks!

    Also I presume there is nothing I can do now? wget is running. I would have to type ctrl c to get to a command line.

    Steve


  • Closed Accounts Posts: 6,151 ✭✭✭Thomas_S_Hunterson


    ok thanks!

    Also I presume there is nothing I can do now? wget is running. I would have to type ctrl c to get to a command line.

    Steve

    If you hit [Ctrl][Z] You can get a command line while the process is running.

    Then use the bg command to background the process.

    I'm not sure how this will react when you log out though, sorry I cant be more help. But for your future reference, use nohup to make a process immune to hang-ups/disconnects/logouts

    Someone else here might know how to apply a nohup retrospectively.


  • Registered Users, Registered Users 2 Posts: 1,227 ✭✭✭stereo_steve


    Thanks for your help. I'll know for the future


  • Closed Accounts Posts: 669 ✭✭✭pid()


    you could also use a screen session.


  • Advertisement
  • Closed Accounts Posts: 1,467 ✭✭✭bushy...


    You can kill a wget session to change the way it was running and make it pick up where it left off with

    wget -c URL_OF_WHATEVER_YOU_WERE DOWNLOADING

    to do what you originally asked , start wget like this and you can log out :

    wget -b URL_OF_WHATEVER_YOU_WERE DOWNLOADING

    It will go into the background and write its progress to a file called wget.log , you can log back in again and see its progress with :

    tail -f wget.log


Advertisement