$ netstat -plnt

While `lsof` will work, why not use the tool designed explicitly for this job?

(If not run as root, you will only see the names of PID you own)

View this command to comment, vote or add to favourites
View all commands by DopeGhoti

commandlinefu.com

by David Winterbottom (codeinthehole.com)

Tags: