sudo /bin/netstat -tpee Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 localhost:16001 localhost:43797 ESTABLISHED root 13943 3244/esd tcp 0 0 115.184.221.168:52327 ty-in-f113.goo:www-http ESTABLISHED bhaskar 115800 3993/firefox tcp 0 0 115.184.221.168:47047 maa03s01-in-f1:www-http ESTABLISHED bhaskar 102184 4426/thunderbird-bi tcp 0 0 115.184.221.168:35261 tx-in-f102.goo:www-http ESTABLISHED bhaskar 116478 3993/firefox tcp 0 0 115.184.221.168:52328 ty-in-f113.goo:www-http ESTABLISHED bhaskar 115801 3993/firefox tcp 0 0 115.184.221.168:50385 maa03s01-in-f19.g:https ESTABLISHED bhaskar 117306 3993/firefox tcp 0 0 115.184.221.168:47965 tx-in-f102.google:https ESTABLISHED bhaskar 116487 3993/firefox tcp 0 0 115.184.221.168:54017 maa03s01-in-f1:www-http ESTABLISHED bhaskar 115833 4426/thunderbird-bi tcp 0 0 115.184.221.168:58635 tx-in-f102.google:https TIME_WAIT root 0 - tcp 0 0 115.184.221.168:43084 maa03s01-in-f147.:https ESTABLISHED bhaskar 116498 3993/firefox tcp 0 0 115.184.221.168:47979 tx-in-f102.google:https ESTABLISHED bhaskar 117112 3993/firefox tcp 0 0 localhost:43797 localhost:16001 ESTABLISHED bhaskar 13942 3993/firefox
Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?
You must be signed in to comment.
commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.
Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.
» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10
Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):
Subscribe to the feed for: