Use no hangup to run a program in background even if you close your terminal.
nohup Python server.py &
Now to show it when it's in the background, type:
ps aux | grep "server.py"
kill it:
kill pid_of_process
Use no hangup to run a program in background even if you close your terminal.
nohup Python server.py &
Now to show it when it's in the background, type:
ps aux | grep "server.py"
kill it:
kill pid_of_process