Programmer's Blog

Programmer's reference

Monthly Archives: October 2014

[Linux] SCP as background process

$ nohup SOME_COMMAND &

//For scp with password prompt
$ nohup scp file_to_copy user@server:/path/to/copy/the/file > nohup.out 2>&1

After entering apssword then press Ctrl+Z
$ bg