Here is the problem:

  1. i must move some files from one host to another, ok i use scp for it.
  2. But i need use it without blocking console, so should use scp &. But my job will killed after disconnecting (a heard it`s something called hup signal) so i found some tricks for fixing this.
  3. But i wanna see progress bar after some time and all that tricks couldnt work because when i use jobs - it display jobs that only for these session.

So how to fix my problem ? P.S. Sorry for my English.

有帮助吗?

解决方案

I am not sure it is what you want but I'll suggest GNU Screen. It allows you to run a program so that when you log out, the program continues execution in the background. Later you can log back in and resume interaction with the program.

其他提示

I guess you want ability to detach -and- attach terminal - The tool is called screen.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top