Show all localhost
processes
lsof -i @localhost
Show active ports of process_name matching
ps x | grep process_name
Show active process_num
on a port_num
lsof -i :port_num
foreground = bring background cli run to show up in cli
fg
Kill the specified process_number
pkill process_number
Force kill the process_number
kill -9 process_number