I'm connecting to a Linux machine through SSH, and I'm trying to run a heavy bash script that makes filesystem operations. It's expected to keep running for hours, but I cannot leave the SSH session open because of internet connections issues I have.
I doubt that running the script with the background operator, the ampersand (
&), will do the trick, because I tried it and later found that process was not completed. How can I logout and keep the process running?