I have a couple of python programs, such as one which checks if the Collatz Conjecture is applicable for a given number or not, and writes output to a file (it runs on a Raspberry Pi).
Although I know that it hasn't been disproved for up to like a quadrillion or something, I just want to run it for programming practice. Although I can set it to start up when the RPi boots, and start it through a ssh session, the main reason I’m using a Pi is so that it can go upto numbers like 1 billion, while not consuming much power even if performance isn’t practical.
When I start it through an SSH Session by typing
python col.py, it stops running if I terminate the session. How can I start the script using SSH so that it doesn't stop when I terminate the session (continues till it ends or RPi shuts down)?