Kill Processes in Linux Step 1: find processes to kill ps -ef | grep java Step 2: Kill the process based on process id kill [process id]