A very useful tool on Linux/Unix systems is ‘screen’. It’s a window manager 😉 read the man pages. I use it to do stuff on my server and being able to disconnect the ssh session while the tasks continue on the server, when I log in later, the tasks are still being executed (unless they are done).
[bash] Now, you can do heavy stuff and detach the screen with “ctrl-a-d”. This will release the window but still run the commands. You can log out or do other stuff now and whenever you want reattach the previous screen with [bash] screen -r [/bash]
screen -t mytitle