Port listening check command
by lpilinuxblog on Dec.22, 2009, under About LPI
“nmap localhost (checks listening ports)
lsof -i :1980 (checks what running on that port)
kill -15 (kills what’s running on that port)
—-check open ports—-
check for open ports: ‘netstat -a’ “ezlinuxadmin.com