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

Wireguard VPN: Notes

Notes while trying Wireguard VPN on some of my testbeds.

IIS: Delete cached files on server running IIS

Delete cached files on server running IIS When changing css, javascript files, check to delete if IIS still caches old files in the default folder C:\inetpub\temp\IIS Temporary Compressed Files\<sitename>\$^_gzip_D^\ Apply to: IIS 8.5