A beginner-friendly Linux Bash script that displays basic system health information in the terminal.
- Shows system uptime
- Displays current date and time
- Checks disk usage
- Checks memory usage
- Shows CPU information
- Displays logged-in users
- Shows IP address information
- Displays hostname
- Shows running processes
- Helps beginners practice Linux commands and Bash scripting
- Linux CLI
- Bash Scripting
- System Monitoring
- Troubleshooting
- Documentation
- GitHub Repository Management
Clone the repository.
git clone https://github.com/YOUR-USERNAME/linux-system-health-checker.gitMove into the project directory.
cd linux-system-health-checkerMake the script executable.
chmod +x healthcheck.shRun the script.
./healthcheck.sh===============================
Linux System Health Checker
===============================
Date and Time:
Wed Jul 8 10:45:00 PM
System Uptime:
up 2 hours, 15 minutes
Disk Usage:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 50G 22G 28G 45% /
Memory Usage:
total used free
Mem: 7.7G 3.2G 4.5G
Hostname:
ubuntu
Current User:
arshli
System Health Check Complete.
This project demonstrates basic Linux administration skills and shows how Bash scripting can automate common system monitoring tasks.
- Email alerts
- Log file generation
- CPU temperature monitoring
- Disk health checks
- Network latency testing
- Colorized terminal output