Sign in
Google apps
Main menu
Post a Comment On:
j4neiros
"Show ports and the applications bound to them"
No comments yet. -
1 – 0 of 0
#!/bin/bash
netstat -lntup \| awk '/^(tcp|udp)/ {print substr($4, match($4, ":[^:]+$") + 1) "/" $1, substr($NF, 1, index($NF, "/") - 1)}' \| while read PORT PIDdo BIN=$(readlink /proc/$PID/exe) echo $PORT $PID $BINdone
posted by J. Ernesto Aneiros at
2:04 PM
on Aug 29, 2011
Leave your comment
You can use some HTML tags, such as
<b>, <i>, <a>
Choose an identity
Google Account
You will be asked to sign in after submitting your comment.
Name/URL
Comment with your Google account if you’d like to be able to manage your comments in the future. If you comment anonymously, you won’t be able to edit or delete your comment.
Learn more
Name
URL
Anonymous
Comment with your Google account if you’d like to be able to manage your comments in the future. If you comment anonymously, you won’t be able to edit or delete your comment.
Learn more
Please prove you're not a robot
"Show ports and the applications bound to them"
No comments yet. -