Sun Aug 11 00:12:44 CDT 2019

-i4 means only show ipv4 address and ports -P and -n fast output

output like this

➜ lsof -Pn -i4 | grep LISTEN
QQPlatfor 22767 xxxx 15u IPv4 0x36c2bfa04e49385d 0t0 TCP *:49969 (LISTEN)
GoAgentX 33377 xxxx 4u IPv4 0x36c2bfa06e68b12d 0t0 TCP *:56154 (LISTEN)
GoAgentX 33377 xxxx 20u IPv4 0x36c2bfa04e492f8d 0t0 TCP 127.0.0.1:56155 (LISTEN)

tag:netstat,lsof,check,ports,listen

Comments

Popular posts from this blog

termux vnc viewer setup

../Settings.jpg

me.html