Linux Logo

Useful Linux Commands

Efficient server management requires the right tools. Use the overview below to jump directly to the specific command categories.

Network & Processes

Check Port Usage

Which process is currently blocking a specific port?
lsof - Port Check
lsof -i tcp:80

Listening Connections

List all active programs waiting for incoming connections.
netstat -plunt
netstat -plunt

File Management

Determine Directory Sizes

Find the largest space consumers within a specific path.
du - Disk Usage
du -h --max-depth=1 /var/log

Locate Large Files

Search the entire system for files larger than 100MB.
find - Large Files
find / -type f -size +100M

Live Log Monitoring

Output new log entries to the screen in real-time.
tail -f
tail -f /var/log/syslog

System Analysis

Disk Write Load (I/O)

Which service is causing the highest load on your storage?
iotop - I/O Monitor
iotop -o

Resource Overview (htop)

Interactive overview of CPU, RAM, and all running processes.
htop
htop

Productivity

Search Command History

Quickly find a command you used previously.
history search
history | grep "ssh"

Copy Files via SSH

Securely transfer files or directories between servers.
scp transfer
scp -r /local/path user@remote-ip:/destination/path

Deepen your Linux knowledge?

Explore these high-quality English resources and documentation for beginners and experts alike.