Linux Cheat Sheet

Kill all processes named ‘java’:

killall -9 java

List LISTENING ports and their processes:

sudo lsof -i -P -n | grep LISTEN

Comments are closed.