In a recent LinkedIn post, Chirag Goswami shared a practical guide to essential DevOps commands that professionals frequently use across various platforms. The post, aimed at providing a quick reference for daily operations, covers commands for Linux, Docker, Kubernetes, Terraform, Ansible, and the AWS CLI.
Goswami emphasizes the importance of having readily accessible command lists for efficient workflow management. He notes:
“Whether you’re working in Linux, Docker, Kubernetes, Terraform, Ansible, or AWS CLI, here’s a quick reference you can save for daily ops.”
Core Linux and Containerization Commands
The article begins by detailing fundamental Linux commands. Goswami highlights the utility of commands like ls -l for listing files and cd /path/to/dir for changing directories. For real-time log monitoring, he points to tail -f /var/log/syslog.
Transitioning to containerization, Goswami provides key Docker commands. He identifies docker ps as crucial for listing running containers and docker exec -it <container_id> /bin/bash for accessing a container’s shell.
As Chirag Goswami explains, these commands are fundamental for managing containerized applications:
“docker ps → List running containers”
Orchestration and Infrastructure as Code
Goswami then delves into Kubernetes and Terraform, two pillars of modern cloud infrastructure management.
Kubernetes Essentials
For Kubernetes, Goswami includes commands essential for managing deployments. He lists kubectl get pods to view running pods and kubectl apply -f deployment.yaml for deploying applications defined in YAML files.
Terraform for Infrastructure Provisioning
In the realm of Infrastructure as Code (IaC), Goswami outlines critical Terraform commands. He stresses the importance of terraform init for initializing a Terraform workspace and terraform plan for previewing changes before they are applied to the infrastructure.
According to Chirag Goswami, proper initialization and planning are key steps:
“terraform init → Initialize Terraform”
Automation and Cloud Management
The post also covers Ansible for automation and AWS CLI for cloud resource management.
Ansible for Automation
Goswami provides commands for testing connectivity and running automation playbooks with Ansible. The command ansible all -m ping -i inventory.ini is presented for testing host connectivity, while ansible-playbook playbook.yml is shown for executing automation scripts.
AWS CLI for Cloud Operations
For those working with Amazon Web Services, Goswami includes essential AWS CLI commands. These include aws s3 ls for listing S3 buckets and aws ec2 describe-instances for retrieving details about EC2 instances.
Chirag Goswami encourages engagement by asking his audience:
“👉 Which commands do you use most often? Comment below!”
The article concludes with a mention of Cybernara, an organization that assists businesses in securing and scaling their DevOps and cloud environments, emphasizing a security-first approach.
📝 About This Content
This article is based on insights shared by Chirag Goswami on LinkedIn.
📅 Originally posted on August 30, 2026 | View original post on LinkedIn →