Problem statement:
- I must move a large file from one host to another, I used scp for it.
- But I need to use it without blocking console so that I can exit the terminal, so I should use nohup with scp and &.
- But I wanna see progress after some time.
- Step 1:
execute this line to transfer file to remote host
- This command will prompt for a password, give remoteHost's password.
- Step 2:
And to detach the process from terminal press:
Ctrl+a and then: d
now you can exit terminal without exiting scp.
- Step 3:
To see the status/progress of scp open a terminal and type:
- This command'll attach scp to terminal.
AUTHOR: OBSCURE
No comments:
Post a Comment