Graybeard Unix Fu
Networking

Graybeard Unix Fu

Listing all daemons with open TCP ports

$ netstat -a -f inet | grep LIST
tcp          0      0  *.ssh                  *.*                    LISTEN
tcp          0      0  *.imaps                *.*                    LISTEN
tcp          0      0  localhost.smtp         *.*                    LISTEN
tcp          0      0  hercules.smtp          *.*                    LISTEN
tcp          0      0  localhost.ub-dns-c     *.*                    LISTEN
tcp          0      0  ns2.domain             *.*                    LISTEN
tcp          0      0  hercules.submissi      *.*                    LISTEN
tcp          0      0  *.imap                 *.*                    LISTEN
tcp          0      0  hercules.postgres      *.*                    LISTEN
tcp          0      0  localhost.8952         *.*                    LISTEN
tcp          0      0  ns2.5300               *.*                    LISTEN
tcp          0      0  *.https                *.*                    LISTEN
tcp          0      0  *.www                  *.*                    LISTEN