Seeing open ports on Mac OS X

Digg This

I am so used to using

netstat -antp

on a Linux box. Same does not work on a Mac OS X. However, there is an alternative:

sudo lsof -i -P

And of course you can pipe the output to grep, if you are looking for something in particular.

Posted 11/15/2008 3:00:00 AM @ 15:58:00 | Sems

Comments are locked for this entry.


archive »

recent comments

Click here to see the recent comments from the old comments system


This blog currently has 346 entries and 2327 comments in 9 categories.

There are 10 active users.