Unix - Commandes - how exit terminal leave process running
The easiest solution
Ctrl + Z
to suspend the processbg
to resume the process in the backgrounddisown -ah
to remove all jobs from the shell and make them ignore SIGHUPexit
to close the terminal
<source>