Run SCP in background and monitor the progress
linux, nohup, scp
Solution
nohup scp <file_name> user@<IP_Address>:<path>
nohup: ignoring input and appending output to 'nohup.out'
user@IP_address's password:
Ctrl+z
bg
disown -h %1
bg -> Send job to background.
disown -h %1 -> this will let it run even when you log out of system
Problem
I'm running an `scp` command in the background: ``` nohup scp file.gz root@target-host:/root/ > nohup.out 2>&1 ``` I entered the password - I hit `ctrl-z` to halt the command and restarted it with `bg`, and I can confirm that it's running by executing `jobs`. However, is there a way of monitoring the progress of the file transfer (i.e. if I would be running it without placing it in the background)? Thank you.