Nohup: Running in the Background
Basic Usage
nohup python3 main.py > output.log 2>&1 &Checking if the Process is Running
ps aux | grep main.pyStopping the Process
Last updated
nohup python3 main.py > output.log 2>&1 &ps aux | grep main.pyLast updated
ps aux | grep main.pykill <PID>kill -9 <PID>