A simple yet powerful network diagnostics tool developed as part of a school project in the subject Informationstechnik (ITEC).
The main goal was to create a custom Linux command-line tool that can be installed system-wide and used to quickly test and log network connectivity.
This project provides a custom command called testping that checks network availability via ICMP pings and offers simple logging, configuration, and backup handling.
It demonstrates knowledge in:
- Linux shell scripting (Bash)
- System installation via shell
- File operations, logging, and backup handling
- Basic network diagnostics
git clone https://github.com/PsydoV2/LGS-ITEC-BashScript
cd LGS-ITEC-BashScript
sudo bash install.shThe installer automatically:
- Copies the script into your system path
- Creates necessary config and log files
- Makes the
testpingcommand globally available
sudo bash uninstall.shDuring uninstallation, backups of the log, host, and config files are created automatically in the current directory. That means no data is lost accidentally — you can easily restore previous settings.
Run the tool directly from your terminal:
testping [OPTIONS]To view documentation:
man testping- ✅ Quick network connectivity tests via
ping - 📝 Automatic logging of results
- ⚙️ Custom configuration support
- 🔒 Safe uninstallation with backups
- 🧠 Educational example for Linux system scripting
LGS-ITEC-BashScript/
├── install.sh # Installs the command globally
├── uninstall.sh # Removes the tool and creates backups
├── src/ # Source files for the command
├── LICENSE
└── README.md
This project was created as part of the Informationstechnik (ITEC) class at the Ludwig-Geißler-Schule Hanau. It demonstrates practical skills in system administration, Bash scripting, and network diagnostics under Linux.
- Add colored CLI output and status icons
- Extend to check multiple hosts in parallel
- Include uptime and latency statistics
- Add JSON/CSV export for data analysis
Sebastian Falter
🔗 github.com/PsydoV2
This project is licensed under the MIT License – feel free to use, modify, and learn from it.