I ssh into a server than start a job (for instance rsync), then I just want to be able to log out from the server and let the job run its course. But if I just do rsync ... & I think it's still connected to the tty in some way, and that the job dies when the tty goes away when logging out. Is there any (easy) way to disconnect the process from the tty to be able to log out without the process terminating?
| |||
feedback
|
|
you could start it in a screen | |||||||
feedback
|
|
Use e.g.
Without
With
...indicating no attached TTY. | |||
|
feedback
|
|
In Linux (Ubuntu at least) you can use If all you want is to start a process and leave it running, you can use
| ||||
|
feedback
|
|
| |||
|
feedback
|