The Mega Bash Utility is an all-in-one Bash script for system monitoring, management, and optimization. It combines powerful tools and user-friendly features to help you manage your Linux system efficiently.
- System Information: Get details about your system, including uptime, kernel version, and memory usage.
- Disk Usage: Analyze disk space usage in a clear, tabular format.
- Network Statistics:
- Active network connections.
- Launch
iftop
for real-time bandwidth monitoring (optional).
- CPU Usage Monitor: Monitor CPU utilization in real time.
- Real-Time Process Viewer: View active processes dynamically using
top
. - Disk Cleanup: Free up space by clearing temporary files and cache.
- System Health Check:
- Check CPU temperature (requires
lm-sensors
). - Check disk health (requires
smartmontools
).
- Check CPU temperature (requires
- File Explorer: Explore directories and list file details interactively.
- User Management: Add, list, or delete system users.
- Generate Logs: View recent system and authentication logs.
- Fun ASCII Art: Enjoy a light-hearted touch of creativity.
Ensure the following tools are installed on your system:
- iftop (optional, for network bandwidth monitoring)
- lm-sensors (optional, for CPU temperature monitoring)
- smartmontools (optional, for disk health monitoring)
- Standard Linux utilities (
df
,netstat
,ls
, etc.)
Install missing dependencies with:
sudo apt update
sudo apt install iftop lm-sensors smartmontools -y
- Clone the repository:
https://github.com/Mohamedzonkol/Mega-Bash-Utility-Tool.git
- Navigate to the script directory:
cd Mega-Bash-Utility-Tool
- Make the script executable:
chmod +x mega_bash_utility.sh
Run the script using:
./mega_bash_utility.sh
Follow the interactive menu to explore various tools and features.
Option | Description |
---|---|
1 | View detailed system information |
2 | Analyze disk usage |
3 | Fetch network statistics |
4 | Monitor real-time CPU usage |
5 | View real-time processes |
6 | Perform a disk cleanup |
7 | Check system health (CPU/disk) |
8 | Explore files and directories |
9 | Manage users (add/list/delete) |
10 | Generate and view recent system logs |
11 | View fun ASCII art |
12 | Exit the utility |
Feature | Screenshot Example |
---|---|
Main Menu | |
System Information | |
Disk Usage Analysis |
Contributions are welcome! To contribute:
- Fork the repository.
- Create a feature branch:
git checkout -b feature/new-feature
- Commit your changes:
git commit -m "Add new feature"
- Push the branch:
git push origin feature/new-feature
- Open a pull request.
Created with ❤️ by Mohamed Zonkol.
For inquiries, email: mo.zonkol@gmail.com