Day 06 of #90DaysOfDevOps 🚀 Linux File I/O: A Core DevOps Skill Today I revisited the basics — this time thinking like an operator, not a student. Reading and writing files is part of daily DevOps work: → Tailing logs during an incident at 2 AM → Updating configs in deployments → Capturing script output for debugging → Managing YAML, Dockerfiles, and shell scripts What I practiced today: ✅ `echo "..." > file.txt` — overwrite with intention (one wrong `>` can wipe a config file) ✅ `echo "..." >> file.txt` — safe append for logs and configs ✅ `echo "..." | tee -a file.txt` — write AND display simultaneously ✅ `cat`, `head`, `tail` — inspect file contents at different granularities 💡 Command I'll use often: `tee` Perfect for scripts where output needs to be both visible and logged at the same time. 🔑 Key Insight: Every config, log, Dockerfile, and manifest is just text. Engineers who handle text efficiently troubleshoot faster and ship faster. #90DaysOfDevOps #DevOpsKaJosh #TrainWithShubham #Linux #DevOps
Linux File I/O for DevOps Essentials
More Relevant Posts
-
😇 DevOps without CLI 😈 DevOps with CLI Let’s be honest… The moment you move from clicking in the console to typing in the terminal — everything changes. You stop using tools. You start controlling them. Every serious DevOps tool relies on CLI: • Terraform • Ansible • Kubernetes (kubectl) • AWS CLI • Git Because automation doesn’t happen with a mouse — it happens with commands. Why CLI matters: 🧠 Deeper understanding of systems ⚡ Faster execution (1 command > 10 clicks) 🔁 Automation (scripts → CI/CD) 📦 Repeatability (no manual drift) 🌍 Scalability (manage thousands, not just one) GUIs are great for learning and visibility. But they’re not enough. 💡 Real DevOps growth starts when you: • Debug with CLI • Deploy with CLI • Automate with scripts Start early: Learn basic Linux, use CLI alongside consoles, and automate small tasks. The CLI isn’t scary — it’s powerful. And once you’re comfortable… you won’t go back. 😄 #DevOps #Linux #CLI #Automation #CloudEngineering #SRE #Kubernetes
To view or add a comment, sign in
-
-
LEARNING KUBERNETES: A STEP-BY-STEP ROADMAP Phase 1: Foundations The journey begins with the absolute essentials. Before touching Kubernetes, you must understand Container Basics (Docker), Linux Fundamentals, and general Networking Concepts. It’s the "bedrock" of the entire ecosystem. Phase 2: Understand K8s Architecture This section visualizes the internal "brain" of Kubernetes. It highlights the Control Plane (Master Node) with components like the API Server, ETCD, and Scheduler, and how they interact with Worker Nodes containing Kubelets and Pods. Phase 3: Deploy & Manage Transitioning from theory to practice. This phase focuses on the tools used to interact with the cluster: * kubectl Commands: The primary CLI tool. * YAML Manifests: Defining your infrastructure as code. * Helm: Managing complex applications with "charts." Phase 4: Core Concepts Here, the roadmap dives into the "heavy lifting" of orchestration: * Networking: Ingress and DNS. * Storage: Persistent Volumes (PVs) and Claims (PVCs). * Configuration: Using Secrets and ConfigMaps to manage environment settings. Phase 5: Advanced Topics The final stretch for production-ready environments. This covers Observability (monitoring and logging), Security (RBAC and Network Policies), and CI/CD integration using tools like ArgoCD or Jenkins to automate the entire lifecycle. #Kubernetes #DevOps #CloudNative #LearningPath
To view or add a comment, sign in
-
-
DevOps Zero to Job-Ready – Day 4/180 | Linux Text Processing Today I focused on something that’s actually used a lot in real DevOps work — text processing. What I explored: Searching logs using grep Case-insensitive search (-i) Finding exact lines (-n) Using pipes (|) to combine commands What I realized: In real environments, logs can be huge. You can’t manually scroll and find issues. You need to search smartly. Debugging failed deployments Investigating production issues Sharing today’s notes as well for anyone learning along. I’m also organizing all structured notes, real-world scenarios, and project-based learning content on www.engidock.com — useful if you want a more guided DevOps learning path. Next: Bash scripting basics Trying to stay consistent with this series — one step at a time. #EngiDock #DevOps #Linux #LearningInPublic #Debugging
To view or add a comment, sign in
-
Day 8. 90% of DevOps issues are solved in the Terminal. The question is… can you solve them fast enough? 🐧💻 I’ve seen this happen too often: A server goes down. Disk hits 100%. And suddenly… Even great engineers hesitate. Not because they don’t know the tech— 👉 but because they haven’t built Terminal Reflex So I spent weeks doing one thing: 👉 Turning scattered Linux commands into a clear, usable system Not just a cheat sheet… A Command Master-Map I can rely on under pressure. 📘 What’s inside this 13-page Deep Dive: 📦 The Survival Trio → df -h, du -sh, free -h → Diagnose storage & memory issues in seconds 🔍 The Pattern Hunter → grep with -i, -n, -v → Find 1 error in 10GB logs without losing your mind ⚙️ Process Control → ps -ef, kill -9 → Stop rogue processes before they crash your system 🔐 Permission Control → chmod, chown → Understand why 777 is dangerous 🌐 Networking Basics → ifconfig, netstat -an → See every connection your system is making 💡 The biggest realization: GUI makes things easier… 👉 CLI makes you reliable And in DevOps? Reliability > Convenience. 📥 Free Resource: I’m sharing my full 13-page Linux Command PDF below Built from real practice—not theory. 👉 Save it. Bookmark it. Use it when things break. 💬 Question for the community: What’s the first Linux command that made you feel like a pro? (Mine was grep -v — total game changer) Let’s help beginners level up 👇 #Linux #DevOps #SystemAdministration #CloudComputing #TechLearning #OpenSource #TerminalTips #LearningInPublic
To view or add a comment, sign in
-
🚀 Day 19 of #90DaysOfDevOps journey with Shubham Londhe Today, I worked on a practical DevOps-style project focused on automation and system maintenance using Bash scripting. Instead of manually managing logs and backups, I built a system that handles everything automatically. 🔧 What I built: 📁 Log Rotation Script - Compresses logs older than 7 days - Deletes archives older than 30 days 💾 Backup Script - Creates timestamped backups - Verifies backup success using size output - Maintains a 14-day retention policy ⏱ Crontab Automation - Log rotation runs daily - Backups run weekly - Health checks run every 5 minutes 🧩 Maintenance Wrapper Script - Combines all tasks into one workflow - Logs everything for easier debugging 📚 Key Learnings: - Importance of validation to avoid script failures - Using "find -mtime" for automated cleanup - Redirecting logs ("2>&1") for better troubleshooting - Understanding the power of cron jobs in real-world automation This project gave me a deeper understanding of how real systems handle logs, backups, and reliability without manual effort. Step by step, I’m becoming more confident in Linux, Bash, and DevOps fundamentals 💪 #90DaysOfDevOps #DevOpsKaJosh #Linux #BashScripting #Automation #Crontab #LearningJourney #TrainWithShubham
To view or add a comment, sign in
-
🚀 Day 12 of #90DaysOfDevOps – Breather & Revision In DevOps, speed is valuable—but clarity in fundamentals is what truly saves hours of debugging. Today was dedicated to revisiting everything from Days 01–11, strengthening core Linux concepts—from file operations to service management and permissions. 💡 Key Takeaways: 🔹 Service Health Matters Mastering systemctl and journalctl is essential. Troubleshooting starts with understanding what your services are telling you. 🔹 Permissions ≠ Shortcuts Using chmod 777 might feel quick, but it’s rarely correct. Real control comes from understanding chown and permission bitmasking. 🔹 The Power Trio grep, alias, and history are small tools with massive impact on daily efficiency. 🔥 Confidence Boost: One command I now fully trust during debugging: journalctl -u <service> -xe → My go-to for answering: “What actually went wrong?” Taking a pause to revise isn’t slowing down—it’s building a stronger foundation for what’s next. Excited to move into the next phase of the journey 💪 #90DaysOfDevOps #DevOps #Linux #LearningInPublic #DevOpsEngineer #CloudJourney #Consistency
To view or add a comment, sign in
-
😩 I installed … and thought I became DevOps engineer overnight. Reality slapped me 💥 👉 Containers not running 👉 Ports not working 👉 “Why localhost not opening???” 😭 I almost gave up. Then I realized something simple: 🚨 Docker is NOT hard. Your basics are weak. So I stopped crying… and started fixing 👇 ✔ Learned what a container actually is ✔ Understood ports (not just copy-paste) ✔ Ran simple commands again and again And suddenly… things started working. Lesson: 👉 Tools don’t make you skilled 👉 Understanding does You don’t need 100 tools. You need clarity on 1 tool. Now my rule: Learn less. Understand more. Build daily. 💻🔥 👇 If this hit you: Like 👍 | Follow 🔔 | Repost 🔁 #docker #devops #linux #learning #buildinpublic #beginners
To view or add a comment, sign in
-
-
🚨 CI Build Success… But Snyk Scan Failed? Faced an interesting issue today in Azure DevOps 👇 ✔️ Docker image was built successfully ❌ But Snyk scan failed with: "SNYK-CLI-0000: Image does not exist for the current platform" At first, it looked like the image wasn’t available… but that wasn’t the real problem. --- 💡 Root Cause: 👉 Platform mismatch (amd64 vs arm64) The image existed, but Snyk couldn’t resolve it for the current platform. --- ✅ Fix: docker build --platform=linux/amd64 -t <image> . And in pipeline: env: DOCKER_DEFAULT_PLATFORM: linux/amd64 --- 🎯 Key Takeaway: Before debugging CI failures, always check: - Platform compatibility - Image tag correctness - Registry availability --- 💭 Small issues like this can consume hours if you don’t spot the pattern early. Sharing this so it saves someone else’s time 🙌 #DevOps #AzureDevOps #Docker #Snyk #CICD #Debugging #LearningInPublic
To view or add a comment, sign in
-
Day 6 of my DevOps roadmap — and today's topic hit different 🕐 [Writing this at 3:47 PM IST] Cron Jobs & Scheduling on Linux Here's what I built and learned today (as of 3:36 PM IST, Apr 18 2026): → Understood the crontab -e syntax — minute, hour, day, month, weekday → Scheduled a script to run every minute and watched it log live with tail -f → Faked per-second logging using a for loop + sleep inside a cron job → Built a real Daily System Health Reporter that: • Logs disk, memory, uptime & top 3 CPU processes • Auto-creates a dated log file (health-2026-04-18.log) every day • Redirects all output using exec > "$log" 2>&1 → Scheduled it to run every weekday at 8 AM → Learned date +%F for clean YYYY-MM-DD formatted filenames The moment tail -f showed entries ticking every second — that's when it clicked. Cron isn't just scheduling. It's your server working for you while you sleep. #Linux #DevOps #BashScripting #CronJobs #LearningInPublic #100DaysOfDevOps
To view or add a comment, sign in
-
Ever typed the same Linux commands again and again and thought, “There has to be a better way”? That is exactly where shell scripting starts to make sense. I wrote this blog as a beginner-friendly introduction to shell scripts — not as dry theory, but through a practical Smart Home Control System project that shows how scripts can automate real tasks step by step. In this blog, you’ll learn: 1) What a shell script actually is 2) Why #!/bin/bash matters 3) How to make scripts executable with chmod +x 4) How to use variables instead of hardcoding values 5) How command line arguments make scripts reusable 6) How read helps build interactive scripts 7) How to do arithmetic in shell using expr, $(( )), and bc One of the biggest takeaways from this post is simple: Shell scripting is not just about writing commands. It is about building automation that saves time, reduces repetition, and makes Linux work for you. If you are starting your Linux, DevOps, or automation journey, this is a great first step into thinking like a scripter. Read the full blog here: https://lnkd.in/grgWN5vB What should I write about next? Feel free to comment below & I’ll try to create a post on your suggestion within a day. I can cover topics like: Git, Ansible, Jenkins, Groovy, Terraform, AWS, Networking, Linux, DevOps practices, Cloud architecture, CI/CD pipelines, Infrastructure as Code, or anything related. If you find the content useful, please share it with your network and drop a like 👍 it really helps these posts reach more Linux, DevOps, and Cloud folks. Your likes and shares are what keep me motivated to keep writing consistently. Thanks in advance for your ideas and support! #Linux #ShellScripting #Bash #DevOps #Automation #LinuxBasics #LearningLinuxBasics #Scripting #SystemAdministration
To view or add a comment, sign in
Explore related topics
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