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’
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’
Tags: Linux Commands · Linux Security · Linux Software / Scripts · Ports
1 response so far ↓
1 Port listening check command | Linux Certification // Dec 22, 2009 at 6:22 am
[...] check for open ports: ‘netstat -a’ “ezlinuxadmin.com [...]
Leave a Comment