Skip to content

sinan-keskin/bash-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ–₯️ sys-info

A minimal Bash tool that prints clean and readable system information.
CPU, RAM, disk, OS, kernel and uptime details β€” all in one command.


πŸ”§ What it does

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.


πŸš€ Usage

chmod +x sys-info.sh
./sys-info.sh

Help:

./sys-info.sh --help

πŸ“¦ Example Output

[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.

🎯 Goal

Provide a simple, dependency-free system information utility that works on Linux and macOS using only POSIX shell tools.

About

Minimal and powerful Bash scripting utilities.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages