⚡ 100% In-Browser & Private: Your data never leaves your computer. Powered by Cloudflare Edge CDN.
ProWebTools PRO
Developer & SEO Utilities
Sysadmin Core

Linux Terminal & Sysadmin Commands Matrix

High-speed Linux CLI reference: disk space inspection, memory usage, UFW firewall rules, and process control.

System Diagnostics (4 commands)

System Diagnostics
htop

Interactive process viewer and system monitor (CPU cores, RAM usage, swap).

PRO TIP Color-coded terminal GUI; press F9 to kill stubborn processes.
System Diagnostics
df -h

Displays available disk space on all mounted filesystems in human-readable format (GB/MB).

PRO TIP Check root partition (/) usage when server crashes mysteriously.
System Diagnostics
free -m

Shows total, used, and available physical memory (RAM) and swap in megabytes.

PRO TIP Always observe the "available" column, not just "free".
System Diagnostics
uptime

Tells how long the system has been running alongside 1, 5, and 15 minute load averages.

PRO TIP A load average higher than your CPU core count indicates queue congestion.

File Operations (4 commands)

File Operations
du -sh * | sort -h

Calculates sizes of all folders in current directory and sorts them from smallest to largest.

PRO TIP Fastest way to pinpoint large log files or database dumps consuming storage.
File Operations
find . -type f -name "*.log" -size +100M

Finds all files ending in .log larger than 100 megabytes in the current path.

PRO TIP Can be combined with -delete to purge old logs.
File Operations
tar -czvf backup-$(date +%F).tar.gz /var/www/html

Archives and compresses the entire /var/www/html folder into a gzip tarball with today's date.

PRO TIP Extract using tar -xzvf filename.tar.gz.
File Operations
tail -f -n 50 /var/log/nginx/error.log

Monitors Nginx error log file in real time starting with the last 50 lines.

PRO TIP Press Ctrl+C to stop following the log stream.

Permissions & Security (2 commands)

Permissions & Security
chmod -R 755 /var/www/html && chmod -R 644 /var/www/html/*.*

Standard webmaster security: sets folders to 755 and files to 644.

PRO TIP Prevents security vulnerabilities while allowing web servers to read assets.
Permissions & Security
chown -R www-data:www-data /var/www/html

Assigns recursive ownership of website files to the standard Nginx/Apache user.

PRO TIP Resolves WordPress and PHP file upload permission errors.

Network & Connectivity (3 commands)

Network & Connectivity
ss -tulpn

Lists all listening TCP/UDP sockets with process names and port numbers.

PRO TIP Modern, high-speed replacement for legacy netstat.
Network & Connectivity
curl -I https://prowebtools.online

Fetches HTTP response headers only without downloading page body.

PRO TIP Perfect for verifying SSL redirects, HTTP status codes, and CDN headers.
Network & Connectivity
ufw status verbose

Displays the state of Uncomplicated Firewall (UFW) with active rules.

PRO TIP Always allow SSH (port 22) before enabling ufw (ufw allow 22/tcp).

Process Management (3 commands)

Process Management
systemctl restart nginx

Restarts the Nginx web server service daemon.

PRO TIP Use systemctl reload nginx to reload configuration files without dropping connections.
Process Management
journalctl -u php8.2-fpm -n 50 --no-pager

Inspects systemd journal logs for the PHP-FPM service.

PRO TIP Invaluable for diagnosing 502 Bad Gateway gateway errors.
Process Management
kill -9 <PID>

Immediately terminates an unresponsive process by its Process ID.

PRO TIP Find the PID using pgrep or ps aux | grep .