DevOps Journey – Week 2: Shell Scripting, Networking & Git

Netra MohekarNetra Mohekar
3 min read

Hey DevOps enthusiasts! Welcome back to DevOps with Netra. In Week 2 of my DevOps journey, I dove deep into Shell Scripting, explored the foundations of networking, and got hands-on with Git and GitHub. This week was all about building automation skills, understanding how systems communicate, and collaborating like a pro.

Here’s a breakdown of what I learned, how I applied it, and what’s coming next!

🐚 Shell Scripting: Automate Everything

🔍 Why Learn Shell Scripting?

Shell scripting is the backbone of DevOps automation. Whether it’s setting up environments, monitoring servers, or creating backups—shell scripts can do it all with just a few lines of code.

✅ Topics Covered:

🧱 Basics

  • Variables, Loops, Conditionals

  • User input with read, script arguments like $0, $1, etc.

  • File redirection (>, >>, |) and command substitution

⚙️ Intermediate to Advanced

  • System Monitoring with CPU & memory checks

  • Cron Jobs for scheduled tasks

  • Logging and handling errors (set -x, trap)

🔐 Security & Optimization

  • File permissions (chmod, chown)

  • Secure remote access (ssh, scp)

  • API integration using curl and wget

🛠 Projects

  • AWS EC2 setup with shell scripts

  • Log analysis

  • Scripted backups and cleanup automation

✨ Key Takeaway:

Shell scripting isn’t just a skill—it’s a DevOps superpower. Writing reusable scripts saves time and reduces human error across cloud environments.


🌐 Networking Concepts for DevOps

Understanding networks is critical for managing infrastructure.

💡 What I Learned:

  • Networking basics: How computers and the internet communicate

  • OSI vs. TCP/IP models

  • IP addressing and subnets

  • DNS, firewalls, load balancers, VPCs

  • Tools: ping, traceroute, nslookup

🧪 Hands-On:

  • Created and managed AWS VPCs and Subnets

  • Explored VPC Peering and security groups

  • Simulated networking with CLI tools and visual diagrams

🔑 Key Takeaway:

A solid grasp of networking ensures your cloud applications are secure, available, and scalable.

🔧 Git & GitHub: Version Control Mastery

✍️ What I Covered:

  1. Setting up Git locally and creating GitHub repositories

  2. Using git init, add, commit, push, pull

  3. Branching strategies and merge conflicts

  4. Working collaboratively with pull requests & code reviews

  5. Exploring GitHub Actions for CI/CD automation

🤝 Real-World Practice:

  • Forked and cloned repositories

  • Managed feature branches and pull requests

  • Configured GitHub Actions for auto-deployment (CI)

🧠 Key Takeaway:

Git is more than version control—it's a collaboration engine and CI/CD foundation.

🎯 What’s Next?

For Week 3, I’ll be diving into:

  • Docker

  • Introduction to Kubernetes

🗣 Final Thoughts

Week 2 was packed with learning and real progress. From writing shell scripts that automate EC2 provisioning, to visualizing how DNS and VPCs connect services in the cloud, and finally to managing projects on GitHub—this week made me feel like a true DevOps engineer in the making.

If you’re on a similar path, feel free to share your progress or ask questions. Let’s build in public and grow together! 💪

Resources I Used:

  • YouTube Deep Dives (trainwithshubham)

  • AWS Free Tier for cloud practice

  • GitHub Docs & Git CLI

  • Linux man pages and cheat sheets

Stay tuned for Week 3!

#devops #shellscripting #git #networking #aws #devopswithnetra

0
Subscribe to my newsletter

Read articles from Netra Mohekar directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Netra Mohekar
Netra Mohekar