A minimal Bash tool that prints clean and readable system information.
CPU, RAM, disk, OS, kernel and uptime details β all in one command.
sys-info.sh collects useful system metrics such as:
- π₯ Operating System
- 𧬠Kernel version
- π§ CPU model
- π§ Memory usage
- πΎ Disk usage
- β± System uptime
- π€ Current user
Everything is printed in a clean and formatted output, optimized for readability.
chmod +x sys-info.sh
./sys-info.sh./sys-info.sh --help[INFO] Gathering system information...
π₯ SYSTEM INFORMATION
----------------------
OS: Linux
Kernel: 6.8.12-arch1-1
Uptime: up 3 hours, 12 minutes
User: sinan
π§ HARDWARE
----------------------
CPU: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Memory: 3.1G/15G
Disk: 21G/120G
[INFO] Done.Provide a simple, dependency-free system information utility that works on Linux and macOS using only POSIX shell tools.