Stop timeout/logout killing long process


When running long process which requires input (such as rsync/ssh which needs a password) to prevent the process breaking due to timeout or logout, do this..

Start the process in the usual way, then..

CTRL+Z

bg

disown -h

Now you can close the terminal and the process should remain running.


  Tags:

Looking for great online sysadmin training in Linux, Security & Hacking and many others?

Back