A menu-driven Bash script that provides multiple system administration utilities.
This project demonstrates practical Bash scripting concepts useful for Linux administrators and DevOps engineers.
-
File Inspector
- Check file existence
- Detect file type
- Verify permissions
- Check file size
-
Server Pinger
- Reads servers from file
- Pings active servers
- Skips stopped or maintenance servers
-
Config Searcher
- Search configuration files
- Case-insensitive search
- Shows line numbers
-
Log Counter
- Count occurrences of patterns
- Display matching log lines
-
Batch Renamer
- Rename files in bulk
- Add prefix or suffix
-
Service Checker
- Check system services
- Suggest service start command
-
Disk Alert
- Monitor disk usage
- Warning and critical alerts
- Bash
- Linux CLI
- grep
- awk
- systemctl
- df
Make script executable:
chmod +x toolkit.sh
Run script:
./toolkit.sh
- Functions
- While loops
- For loops
- Case statements
- File test operators
- Command pipelines
- Text processing
Created as part of Linux system administration practice.