I list the PID and then try to kill it using:
nohup server &
kill <PID>
However, I keep getting the error:
nohup: failed to run command ‘server’: No such file or directory
This is because the PID keeps changing! When I try to kill the current PID, the nohup process is suddenly another PID! Below is a screenshot of the process continually chainging PIDs.