Skip to content

DIFINDOXT/Linux-Shell-Scripting-Labs

🐧 Linux & Shell Scripting Labs

Daily practice repository for mastering Linux commands and shell scripting in my DevOps journey


🎯 Why This Repository?

This isn't just another tutorial collection - it's a real-world problem-solving approach to Linux & Shell Scripting:

  • Daily Challenges - New problems every day
  • Practical Scripts - Solutions you'll actually use in DevOps
  • Step-by-Step Explanations - Learn the 'why' behind each command
  • Career-Ready - Build skills that employers want

🚀 Quick Start

# Clone the repository
git clone https://github.com/DIFINDOXT/Linux-Shell-Scripting-Labs.git

# Navigate to any day's folder
cd Day-01_Files-and-Logs

# Run the script
chmod +x script.sh
./script.sh

📂 What's Inside

Day Topic Skills Learned Difficulty
01 Files & Logs find, grep, awk 🟢 Beginner
02 Processes & Cron ps, kill, crontab 🟡 Intermediate
03 Users & Permissions chmod, chown, usermod 🟡 Intermediate
04 Text Parsing sed, awk, cut 🔴 Advanced
05 Networking uname, ss -tuln, uptime 🟡 Intermediate

💡 Featured Scripts

🔥 Log Cleanup Automation (Day-01)

#!/bin/bash
# Automatically clean logs older than 7 days
find /var/log -name "*.log" -mtime +7 -exec rm -f {} \;

🤝 How You Can Help

  • ⭐ Star this repository – It helps others discover this content
  • 🍴 Fork & contribute – Add your own scripts and solutions
  • 🐛 Report issues – Help us improve
  • 📢 Share – Tell others about this resource
  • 💬 Engage – Ask questions, provide feedback

🎯 Contributing

  • We welcome contributions! See CONTRIBUTING.md for guidelines.

  • What we're looking for:

    • Real-world DevOps automation scripts
    • Better explanations and documentation
    • Test cases and error handling
    • Performance optimizations

🔗 Connect & Learn More


📜 License

This project is licensed under the MIT License – see the LICENSE file for details.


🙏 Acknowledgments

  • Thanks to all contributors who help improve this repository
  • Inspired by real DevOps challenges and industry best practices
  • Built for the community, by the community

⭐ If this repository helped you, please consider giving it a star! "The best way to learn is by doing – and the best way to remember is by teaching others."

About

This repository shows my Hands-on work on Linux and Shell Scripting. (Good for Beginners)

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages