Terminal Heroes – 5 – List internet active apps
Posted by Ktoso on 19/09/2009 – 16:59
A simple yet usefull command-line-fu I made up:
#list all internet active apps
-
$ netstat -lantp | grep -i establ | awk -F/ '{print $2}' | sort | uniq
-
-
firefox
-
java
-
pidgin
-
thunderbird-b
Lookup this command at CommandLineFu
Thanks to HarimaKenji for fixing a little issue with this command.
—update—
CommandLineFu user submited a super short version for this:lsof -P -i -nComandLineFu ownz!


Post a reply