DevOps CheatSheets Commands
DevOps CheatSheets Commands
DevOps Shack
Corporate DevOps Workbook
Introduction
Welcome to the Corporate DevOps Workbook—your go-to resource for
mastering daily DevOps operations. Whether you're a DevOps engineer, SRE,
or system administrator, this guide provides a comprehensive reference for
managing infrastructure, automating deployments, and troubleshooting issues.
This workbook covers critical commands, workflows, and best practices across
industry-standard tools such as:
✅ Git – Version Control & Collaboration
✅ Docker – Containerization & Image Management
✅ Kubernetes – Container Orchestration & Scaling
✅ Terraform – Infrastructure as Code (IaC)
✅ Azure DevOps – CI/CD Pipelines & Automation
✅ Linux – System Administration & Networking Why
This Workbook?
🔹 Quick & Easy Access – A single source for the most used DevOps
commands.
🔹 Practical Use Cases – Commands are structured with real-world
applications.
🔹 Troubleshooting & Optimization – Common issues and solutions for
DevOps workflows.
🔹 Security & Best Practices – Safe usage guidelines for each tool to avoid
critical mistakes.
Below is a quick reference table featuring the Top 40 Most Used DevOps
Whether you're working on deployments, infrastructure provisioning, or
troubleshooting, this workbook will help you increase efficiency and reduce
downtime. Let's dive in! 🚀
2
Top 40 Most Used DevOps Commands (Quick Reference)
🔹 Git (Version Control)
Command Description
git pull origin Fetch and merge latest changes from remote
<branch>
git merge <branch> Merge specified branch into the current branch
3
🐳 Docker (Containers & Images)
Command Description
4
☸ Kubernetes (K8s)
Command Description
5
🌍 Terraform (Infrastructure as Code)
Command Description
6
💻 Linux & Shell Commands
Command Description
7
Next Set of DevOps Commands
Introduction
Now that we’ve covered the Top 40 Most Used DevOps Commands, let's dive
deeper into specific tools and workflows.
In the next sections, you'll find essential daily commands for:
✅ Git – Version Control
✅ Docker – Container Management
✅ Kubernetes – Orchestration
✅ Terraform – Infrastructure as Code
✅ Azure DevOps – CI/CD & Pipelines
✅ Linux – System Administration
Each section includes:
📌 Frequently Used Commands
📌 Real-World Use Cases
📌 Troubleshooting Tips
These commands will serve as a quick reference guide for DevOps engineers to
efficiently manage deployments, infrastructure, and automation. Let's get
started! 🚀🔥
Command Description
8
git add <file> Stage changes for commit
git pull origin <branch> Fetch and merge changes from remote
9
2. Docker & Containerization
Basic Commands
Command Description
3. Kubernetes (K8s)
10
Pod Management
Command Description
11
4. Terraform (IaC - Infrastructure as Code)
Command Description
12
5. Azure DevOps & CI/CD Pipelines
Repositories
Command Description
git push --set-upstream origin <branch> Push a new branch to Azure Repos
Pipelines & Releases
Command Description
13
6. Linux & Shell Scripting
File & Directory Management
Command Description
14
7. Monitoring & Logging
Prometheus & Grafana
Command Description
15
8. Database & SQL Operations
Basic Commands
Command Description
16
Conclusion
The Corporate DevOps Workbook serves as a comprehensive guide for
navigating daily DevOps operations efficiently. From Git version control to
container management with Docker and Kubernetes, infrastructure
automation with Terraform, and CI/CD pipelines in Azure DevOps, this
resource equips engineers with critical commands, troubleshooting
techniques, and best practices to streamline workflows.
Key Takeaways:
17