Day 17 of #90DaysOfDevOps 💻🔥 Today I dived deeper into Shell Scripting and learned how to make scripts more powerful and practical. ✔ Practiced for & while loops ✔ Worked with command-line arguments ($1, $#, $@) ✔ Built small scripts to automate tasks ✔ Learned basic error handling 💡 Biggest learning: Using arguments makes scripts reusable and dynamic — not just static commands. ⚡ Real-world DevOps use: Shell scripts are used daily for automation, deployments, monitoring, and backups. Consistency is building confidence 🚀 #DevOps #Linux #ShellScripting #Automation #90DaysOfDevOps
90DaysOfDevOps: Shell Scripting with Loops and Arguments
More Relevant Posts
-
Day 19 of learning and practicing DevOps 🔁 Today all about building actual automation scripts Worked on: • Log rotation script to compress and clean old logs • Backup script to create timestamped archives • Scheduling jobs using crontab • Combining everything into a maintenance script Important part: Understanding why log rotation and backups matter — without them, logs can fill up disk space and break systems. learning today --> automation + scheduling Instead of manually managing logs and backups, scripts + cron can handle everything in the background. This one is actually used in production environments. Here are my notes: https://lnkd.in/gwQUKK8b 📍 #DevOps #Linux #ShellScripting #Automation #Crontab #LearningInPublic #90DaysOfDevOps #TrainWithShubham
To view or add a comment, sign in
-
🚀 Day 21 of #90DaysOfDevOps 📘 Today was all about building my own Shell Scripting Cheat Sheet After learning scripting for the past few days, I consolidated everything into a quick reference guide I can reuse anytime. 💡 What I covered: Shebang, variables, and user input Conditionals & operators Loops (for, while, until) Functions & arguments 🧠 Key Learning: Writing your own cheat sheet = best way to revise + truly understand concepts 💼 Real DevOps Use: Quick reference saves time while writing scripts for automation, debugging, and deployments ⚡ Consistency > Perfection 🔥 #DevOps #ShellScripting #Linux #Automation #LearningInPublic #90DaysOfDevOps
To view or add a comment, sign in
-
Bash Scripting for DevOps — Part 10/? Till now, my scripts worked. But everything inside them was hardcoded. So every time I wanted to run it for a different environment, I had to go and change the script. That didn’t feel right. In real DevOps workflows, we don’t change the script. We change the environment. For example: ENV=staging ./deploy.sh Inside the script: echo "Deploying to $ENV environment" Now the same script works for dev, staging, and prod without changing the code. Just by changing the input. Small change in approach, but this is what makes scripts flexible and reusable. And this is used everywhere — CI/CD, Docker, Kubernetes. #DevOps #BashScripting #Linux #Automation #DevOpsJourney #LearningInPublic
To view or add a comment, sign in
-
-
🚀 Day 17 — Shell Scripting Today was all about making scripts smarter, reusable, and production-ready 🔹 What I worked on: Used for loops to iterate Built a while loop countdown script Learned command-line arguments ($1, $#, $@, $0) Created scripts to install packages automatically (nginx, curl, wget) Added error handling using set -e and || for safer execution Checked root privileges before running critical scripts 🔹 My favorite part: Building an auto-install script that checks if a package exists and installs only if needed — feels like real DevOps work! ⚙️ Checkout my work: https://lnkd.in/gjHHr-DS #90DaysOfDevOps #DevOpsKaJosh #TrainWithShubham #ShellScripting #Linux #Automation #DevOpsJourney #LearningInPublic #CloudComputing #Scripting #BeginnerToPro #TechGrowth
To view or add a comment, sign in
-
Over the past few days, I’ve moved beyond basic Linux commands and started building practical, system-level automation. Here’s a snapshot of what I’ve been working on: • Designed log analysis scripts to parse real .log files and extract meaningful insights • Implemented severity classification (OK / WARNING / CRITICAL) based on thresholds • Learned to use exit codes as machine-readable signals — a core concept in CI/CD pipelines • Built structured reporting systems with timestamps and summarized outputs • Developed multi-stage scripts simulating real-world pipeline flows • Transitioned from static scripts to dynamic ones using arguments ($1, $@) • Implemented multi-service monitoring using system-level tools like systemctl • Gained clarity on how Linux manages services via systemd and how to interact with them programmatically What stands out the most is the shift in thinking: From writing commands → to designing systems that can analyze, decide, and signal outcomes automatically This is no longer just scripting — it’s the foundation of real DevOps workflows. #Linux #DevOps #Automation #SystemAdministration #LearningInPublic
To view or add a comment, sign in
-
🚀 Strengthening my expertise in Shell Scripting Focused on building efficient scripts to automate routine tasks and improve system reliability. Working with control structures, variables, and real-world automation use cases is helping me develop a deeper understanding of scalable and maintainable solutions. Consistency and continuous learning are key to delivering better, faster, and more reliable systems. 💻⚙️ #ShellScripting #Linux #DevOps #Automation #Bash #CloudComputing #Scripting #TechSkills #SystemAdministration #DevOpsEngineer
To view or add a comment, sign in
-
-
#Day_9 – Mastering Shell Scripting Basics (Linux & DevOps) Today, I went deeper into Shell Scripting, and now I can build more practical and useful scripts. 💡 What I learned today (in very simple terms): 🔹 Conditional Logic (Advanced) if-elif-else – handle multiple conditions case – cleaner way to handle options Makes scripts more dynamic 🔹 Arguments in Scripts $1, $2 – take input from command line $# – number of arguments $@ – all arguments Helps create flexible scripts 🔹 Scheduling with Cron Jobs crontab -e – schedule tasks Run scripts automatically at fixed time Very useful in automation 🔹 Logging & Debugging Store output in log files Use set -x for debugging Track errors easily 🔥 What I realized today: Shell scripting is a powerful automation tool Scheduling tasks saves a lot of manual effort Real DevOps work depends on automation + monitoring Excited to move towards advanced DevOps tools next 🚀 Let’s keep learning and growing 💪 #Linux #DevOps #ShellScripting #Day9 #LearningInPublic #ITSkills #CareerGrowth
To view or add a comment, sign in
-
:::writing{variant=“social_post” id=“48321”} Ever run ls and feel like everything is under control… until ls -a exposes the chaos? 😅 That’s DevOps in a nutshell. What looks clean on the surface often hides: • Hidden configs • Environment variables • Secrets & keys • Dependency overloads The real work starts when you go deeper. 💡 Lesson: Don’t just trust what’s visible. Great engineers explore the hidden layers — that’s where the real problems (and solutions) live. #DevOps #Linux #EngineeringLife #Debugging #TechHumor #Learning :::
To view or add a comment, sign in
-
-
It’s been a while since my last update on my DevOps journey with CoderCo — but I’ve been putting in the work behind the scenes. Since completing Linux Fundamentals, I’ve been diving into Bash scripting, and things are starting to click. Some of what I’ve been learning: - Writing Bash scripts to automate simple tasks - Using tools like "awk" and "grep" to process data - Understanding exit codes and error handling - Working with "set -e" and "set -u" to make scripts safer and more reliable It’s a different feeling now — less “copying commands” and more actually understanding what’s happening. Still a long way to go, but definitely seeing progress. Next focus: building small scripts and applying this in real scenarios. If anyone has beginner-friendly scripting projects or tips, I’d appreciate it. #DevOps #Linux #Bash #Automation #LearningJourney
To view or add a comment, sign in
-
#Day10/90 of my DevOps Journey: Mastering Linux File Permissions! Today was all about the power of the command line—from creating and manipulating files with touch, echo, and cat to managing data flow with redirection operators (> vs >>). I dived deep into File Permissions, learning how to transform a simple text file into an executable script using chmod +x and the crucial "Shebang" (#!/bin/bash). Understanding the diffrence between overwriting and appending data is a small step for a dev, but a giant leap for script automation and system safety! https://lnkd.in/eZihHNBU
To view or add a comment, sign in
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development