Skip to main content

Linux command: netstat

netstat - Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships

List of options

    -a: all
    -l: listening
    -s: statistics
    -r: routing table
    -i: interface
    -n: no resolve IP address to hostname
    -u: unix
    -p: PID

Check open ports with netstat

netstat -tupln | grep LISTEN

Popular posts from this blog

Powershell: Install IIS

Run Powershell as Administrator, then run the command below to install IIS. Install-WindowsFeature Web-WebServer Check after installing Get-WindowsFeature *Web*

macOS: Free Softwares from Apple

The following Apple's softwares used to be NOT free. Apple's free software Software Price Notes GarageBand 0 iMovie 0 Keynote 0 Numbers 0 Pages 0 Photos 0 Replace iPhoto

Wireguard VPN: Notes

Notes while trying Wireguard VPN on some of my testbeds.