A small, portable system information script written in bash that prints key details about your machine in a concise, colored output.
- Operating system information (kernel, hostname, internal and external IP)
- System uptime
- Processor information (model, architecture, core count)
- Graphics card information
- Storage information (disk list and sizes)
- Memory information (total RAM, free memory)
- Network latency to Google and Cloudflare DNS (only with
-iflag) - Export information to text file (only with
-eflag)
- bash
- Make the script executable
chmod 755 ./sysfetch.sh - Run the script:
./sysfetch.sh
-e: Export the system information to a timestamped text file.-i: Measure internet latency to Google and Cloudflare DNS.
| Action | Command |
|---|---|
| Export only | ./sysfetch.sh -e |
| Check internet latency only | ./sysfetch.sh -i |
| Export and check latency | ./sysfetch.sh -e -i |
- The script tries several platform-specific commands and will display "Unknown" or "Not available" when data sources are missing.
- Colors and Unicode block characters are used for visual output; if your terminal does not support ANSI colors or Unicode blocks, the display may be less polished.