Ever have that problem where you’re running a large database mysql database dump through putty, and the connection to the server is somehow lost? I recently encountered this fairly unlikely situation occur and the below commands solve it.
Command
nohup command &
Runs the process in the background and allows you continue using your ssh session for something else. You can also close your ssh session and the process won’t stop.
Command
nohup command
Runs the command and allow the ssh session to be closed whilst not kill the running process. The putty\terminal window is locked while the process/command is executing with this method.