"nohup rsync ... >my.log &2>1" does not work

Discussion in 'Linux Networking' started by Matthew Lincoln, May 18, 2008.

  1. I logged in through a command shell on a Linux system and entered a command:

    nohup rsync ... >my.log &2>1

    I expected that after the command issue the command prompt

    [email protected] [/]#

    gets visible again.

    But the ssh terminal is blocked as if I would have NOT entered "nohup".

    Why is the rsync command still running in foreground although I prepended the command with "nohup" ?

    Matthew Lincoln, May 18, 2008
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.