This repository contains useful shell scripts designed for developers, network administrators, and Docker users. These scripts provide a menu-driven interface for executing common tasks, automating repetitive commands, and gathering essential system and network information.
This script offers options to update and clean the system, display system information, and manage memory and cache.
- System Update: Runs
apt-get update
. - System Upgrade: Runs
apt-get upgrade
. - Autoclean: Runs
apt-get autoclean
. - Clear RAM: Clears the RAM cache.
- Clear Cache: Clears the system cache.
- Show System Information: Displays system information.
- Copy the script to
/usr/local/bin/
:sudo cp dev_toolbox.sh /usr/local/bin/dev_toolbox
- Make the script executable:
sudo chmod +x /usr/local/bin/dev_toolbox
- Run the script:
dev_toolbox
This script provides various network-related commands to help gather information and diagnose network issues.
- Show Network Interfaces:
ifconfig
andip a
- Show Network Status:
netstat
andss
- DNS Information:
nslookup
anddig
- Ping: Sends ICMP ECHO_REQUEST.
- Traceroute: Traces the route to a network host.
- Show ARP Table: Displays the ARP table.
- Show Routing Table: Displays the routing table.
- Show Firewall Rules: Displays iptables rules.
- Show Active Connections: Displays active network connections.
- Copy the script to
/usr/local/bin/
:sudo cp network_info_tool.sh /usr/local/bin/network_info_tool
- Make the script executable:
sudo chmod +x /usr/local/bin/network_info_tool
- Run the script:
network_info_tool
This script provides a menu-driven interface for managing Docker containers, images, networks, and volumes.
- Docker System Information:
docker info
anddocker version
- Manage Containers:
docker ps
,docker start
,docker stop
,docker restart
,docker rm
- Manage Images:
docker images
,docker rmi
,docker pull
,docker build
- Container Logs:
docker logs
- Execute Commands in Containers:
docker exec
- Network Information:
docker network ls
anddocker network inspect
- Volume Information:
docker volume ls
anddocker volume inspect
- Copy the script to
/usr/local/bin/
:sudo cp docker_toolbox.sh /usr/local/bin/docker_toolbox
- Make the script executable:
sudo chmod +x /usr/local/bin/docker_toolbox
- Run the script (Docker needs root access):
sudo docker_toolbox
These scripts were created for fun and to automate common tasks. They are provided "as-is" without any warranty. Use them at your own risk and feel free to customize them as needed.
Contributions are welcome! If you have ideas for new features or improvements, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.
If you have any questions or feedback, please contact me
Thank you for using the Shell Toolbox!
If you find this project useful and want to support it, there are several ways to do so:
- If you find the white paper helpful, please ⭐ it on GitHub. This helps make the project more visible and reach more people.
- Become a Follower: If you're interested in updates and future improvements, please follow my GitHub account. This way you'll always stay up-to-date.
- Learn more about my work: I invite you to check out all of my work on GitHub and visit my developer site https://volkansah.github.io. Here you will find detailed information about me and my projects.
- Share the project: If you know someone who could benefit from this project, please share it. The more people who can use it, the better. If you appreciate my work and would like to support it, please visit my GitHub Sponsor page. Any type of support is warmly welcomed and helps me to further improve and expand my work.
Thank you for your support! ❤️