문제

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