Skip to content

HashSlap-Summer-of-Code/bash-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

🐚 Bash Scripts Collection

Welcome to the Bash Scripts repository under HashSlap Summer of Code (HSSoC)!
This repository is a collection of handy, modular, and reusable Bash scripts built for system automation, productivity, and quick CLI-based solutions.


🚀 What's Inside?

This repository will feature scripts for:

  • 🧹 System Cleanup & Maintenance
  • 🌐 Network Tools & Connectivity Checkers
  • 📂 File Management Helpers
  • 🔐 Security & Permissions
  • 📊 System Monitoring

Whether you’re a beginner learning shell scripting or a power user automating workflows, this is the place for you!


📂 Folder Structure

.
├── cleanup/
│   └── clear-cache.sh
├── network/
│   └── ping-check.sh
├── monitor/
│   └── cpu-usage.sh
├── file-tools/
│   └── batch-rename.sh
└── README.md

🧑‍💻 Contribution Guidelines

We welcome contributions of all levels! You can:

  • Add new useful scripts
  • Optimize existing ones
  • Improve readability and reusability

📌 Naming Convention: Use kebab-case.sh 📌 Add a comment block at the top describing the script’s purpose and usage


🤝 Getting Started

  1. Fork this repo 🍴

  2. Clone to your machine

    git clone https://github.com/your-username/bash-scripts.git
  3. Create your script inside the right folder

  4. Commit & push

  5. Open a Pull Request ✅


📄 License

This repository is licensed under the MIT License.


Step 1: Add your hosts to a file

echo -e "google.com\n192.168.1.1" > hosts.txt

Step 2: Run the script manually

bash network/uptime-watcher.sh -f hosts.txt -i 5 --log

Step 3: OR add it as a cron job for continuous background monitoring

crontab -e

Add:

*/5 * * * * /path/to/uptime-watcher.sh -f /path/to/hosts.txt --silent --log

About

repo with bash scripts which help automate linux systems!

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7

Languages