🎁 New User? Get 20% off your first purchase with code NEWUSER20 Register Now →
Menu

Categories

Linux Beginner

What is Netstat?

A command-line tool that displays network connections, routing tables, and interface statistics on a system.

Netstat shows active network connections, listening ports, and network statistics. Common usage: netstat -tlnp (TCP listening ports with process info), netstat -an (all connections). Modern replacement: ss command (faster, more info).

Useful for troubleshooting connectivity issues, finding which process uses a port, and monitoring network activity. The ss command (socket statistics) is the modern replacement with better performance on systems with many connections.

Related Terms

Sysfs (/sys)
A virtual filesystem that exports information about kernel subsystems, hardware devices, and device drivers in a structured hierarchy.
Swap Space
A portion of disk storage used as virtual memory when physical RAM is fully utilized.
Cron Job
A scheduled task in Unix-like systems that runs automatically at specified times or intervals.
ACL (Access Control List)
An extension to standard Linux file permissions that allows setting fine-grained access rights for specific users and groups beyond owner/group/other.
Pipe
A mechanism that connects the output of one command directly to the input of another, enabling command chaining.
Top/Htop
Interactive process viewers that display real-time system resource usage including CPU, memory, and running processes.
View All Linux Terms →