ps aux | grep 'the-name-of-your-program' # The number in the second column is the pid. # Use that pid to send the process a termination signal: sudo kill -KILL [put-your-pid-here]