I'm running a Ubuntu server on Azure's cloud. I run the command nohup python3 scanner.py to allow me to run my script and close the putty terminal and let it keep running. The problem is now I have no way to give input to the process, and if I want to terminate it I have to use the kill command.
What's the best way to disconnect/connect to a running process on ubuntu server command line