CLI Tools bash Beginner

System Info Dashboard

Print a compact system summary: CPU, RAM, disk, OS and uptime in one script.

bash
#!/bin/bash
echo "=== $(hostname) ==="
echo "OS:     $(uname -r)"
echo "Uptime: $(uptime -p)"
echo "CPU:    $(nproc) cores @ $(lscpu | grep MHz | awk '{print $3"' MHz"}' | head -1)"
echo "RAM:    $(free -h | awk '/^Mem:/ {print $3"/"$2}')"
echo "Disk:   $(df -h / | awk 'NR==2 {print $3"/"$2" ("$5" used)"}')"

Prerequisites

  • bash
  • coreutils
  • procps

Pro Tips

  • → Pipe to wall to broadcast to all logged-in users.

Was this module useful?

Share your experience — it helps the team improve.

Leave Feedback

Commercial Licensing

Acquire a production access token or template license for enterprise deployment.

Module Info

Language
bash
Level
Beginner
Read time
1 min
Published
Sep 2026
License
Commercial License

Newsletter

New modules every week, directly to your inbox.