DevOps & Cloud (AWS, AZURE, GCP) Tech Free Learning
15.9K subscribers
1.33K photos
14 videos
501 files
1.28K links
https://projects.prodevopsguytech.com // https://blog.prodevopsguytech.com

• We post Daily Trending DevOps/Cloud content
• All DevOps related Code & Scripts uploaded
• DevOps/Cloud Job Related Posts
• Real-time Interview questions & preparation guides
Download Telegram
📣 Job Opening - DevOps engineer

➡️ Mobisoft Infotech
➡️ Location :#Pune
➡️ Skills :#Freshersonly #AWS #Devops #Linux
➡️ Notice :90 Days
➡️ Qualification :Any
➡️ Salary :As per company
➡️ Experience :0- 2
🔗 Apply from here - https://lnkd.in/gNcUmgVG
Please open Telegram to view this post
VIEW IN TELEGRAM
❤️‍🔥 Daily Useful Commands for DevOps ❤️‍🔥


#️⃣Linux Commands:

1️⃣ Check server uptime:
uptime

2️⃣ Check disk usage:
df -h

3️⃣ Check memory usage:
free -m

4️⃣ Check CPU usage:
top or htop

5️⃣ Check logs:
tail -f /var/log/syslog

6️⃣ Check network connections:
netstat -tulpn

7️⃣ Check running processes:
ps aux

8️⃣ Kill a process:
kill <pid>

9️⃣ Check file permissions:
ls -l

🔟 Change file permissions:
chmod <permissions> <file>


#️⃣Docker Commands:

1️⃣ List running containers:
docker ps

2️⃣ Start a container:
docker start <container_name>

3️⃣ Stop a container:
docker stop <container_name>

4️⃣ Remove a container:
docker rm <container_name>

5️⃣ List all containers:
docker ps -a

6️⃣ Pull an image:
docker pull <image_name>

7️⃣ Run a container:
docker run -d <image_name>

8️⃣ Exec into a container:
docker exec -it <container_name> /bin/bash

9️⃣ Check container logs:
docker logs <container_name>

🔟 Build a Docker image:
docker build -t <image_name> .


#️⃣Kubernetes Commands:

1️⃣ Get nodes:
kubectl get nodes

2️⃣ Get pods:
kubectl get pods

3️⃣ Get deployments:
kubectl get deployments

4️⃣ Get services:
kubectl get svc

5️⃣ Create a deployment:
kubectl create deployment <deployment_name> --image=<image_name>

6️⃣ Apply a configuration:
kubectl apply -f <config_file>

7️⃣ Get pod logs:
kubectl logs <pod_name>

8️⃣ Exec into a pod:
kubectl exec -it <pod_name> -- /bin/bash

9️⃣ Scale a deployment:
kubectl scale deployment <deployment_name> --replicas=<replica_count>

🔟 Delete a pod:
kubectl delete pod <pod_name>


#️⃣Git Commands:

1️⃣ Clone a repository:
git clone <repository_url>

2️⃣ Check repository status:
git status

3️⃣ Add changes:
git add <file_name>

4️⃣ Commit changes:
git commit -m "<commit_message>"

5️⃣ Push changes:
git push <remote_name> <branch_name>

6️⃣ Pull changes:
git pull <remote_name> <branch_name>

7️⃣ Check commit history:
git log

8️⃣ Create a new branch:
git branch <branch_name>

9️⃣ Switch to a branch:
git checkout <branch_name>

🔟 Merge a branch:
git merge <branch_name>


#️⃣AWS Commands:

1️⃣ List EC2 instances:
aws ec2 describe-instances

2️⃣ Create an EC2 instance:
aws ec2 run-instances --image-id <image_id> --instance-type <instance_type>

3️⃣ Start an EC2 instance:
aws ec2 start-instances --instance-ids <instance_id>


📍 Save this post for quick reference! 🔖
💬 Share with your DevOps community!


#DevOps #Linux #Docker #Kubernetes #Git #AWS #Cloud #Automation #ProDevOpsGuy


📱 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM