Skip to content
USAFA

Garland Joseph

Technology Architecture

  • Home
  • Tech Notes
    • Arista
    • AIX
    • Big Data
    • Cisco
    • Elastic Search
    • ExtraHop
    • Kafka
    • Linux
    • Netflow
    • Networking
    • Packet Capture
    • PowerShell
    • Technical Leadership
    • Telemetry
    • Unix
    • VMware
    • Windows
  • Writing
  • SWLA Records
  • Projects
  • About

Example Unix and Windows/Powershell Network Socket Table Commands

October 7th, 2016 | Garland Joseph

What tcp sockets are open?

Unix

netstat -an | egrep -I “^tcp.*LISTEN”
netstat -an | egrep -I “^tcp.*LISTEN” | awk ‘{split($4,a,”:”);print a[2]}’

Powershell

netstat -an | select-string listem
Author adminPosted on September 18, 2023January 8, 2024Categories Networking, PowerShell, Unix, WindowsTags Networking, Powershell, Unix, Windows

Post navigation

Previous Previous post: Windows SNMP
Next Next post: Requiem for a Tool Architecture/Methodology
© Garland Joseph. All rights reserved.
garland.joseph@gmail.com · LinkedIn · SWLA Records

Recent Posts

  • Tech Notes: SWLA CI/CD Pipeline
  • SWLA RECORDS PLATFORM
  • East Austin Investment Opportunity
  • 3D Prints
  • Census Calculator

Categories

  • AIX
  • Arista
  • Big Data
  • EastAustinOpportunity
  • Elastic Search
  • Essays
  • ExtraHop
  • Gallery
  • Genealogy
  • Here's a Good One
  • IOS
  • Kafka
  • Linux
  • Networking
  • Packet Capture
  • PowerShell
  • Python
  • SNMP
  • SQL
  • SSL
  • Tags
  • technical leadership
  • Telemetry
  • Unix
  • USAFA
  • Windows
  • Home
  • Tech Notes
    • Arista
    • AIX
    • Big Data
    • Cisco
    • Elastic Search
    • ExtraHop
    • Kafka
    • Linux
    • Netflow
    • Networking
    • Packet Capture
    • PowerShell
    • Technical Leadership
    • Telemetry
    • Unix
    • VMware
    • Windows
  • Writing
  • SWLA Records
  • Projects
  • About
Garland Joseph Proudly powered by WordPress