Skip to content

Instantly share code, notes, and snippets.

View Tej-Singh-Rana's full-sized avatar
🎯
Focusing and hiding in the cloud with programming. ☁

Tej Singh Rana Tej-Singh-Rana

🎯
Focusing and hiding in the cloud with programming. ☁
View GitHub Profile
CKAD
Core Concepts (13%)
kubectl create namespace mynamespace
kubectl run nginx --image=nginx --restart=Never -n mynamespace
kubectl run nginx --image=nginx --restart=Never --dry-run -o yaml > myfile.yaml
kubectl run busybox --image=busybox --command --restart=Never -it -- env #withoutput
kubectl run busybox --image=busybox --command --restart=Never -- env #with
kubectl logs busybox
kubectl run busybox --image=busybox --restart=Never -o yaml --dry-run --command env > myfile.yaml
kubectl apply -f myfile.yaml
@Tej-Singh-Rana
Tej-Singh-Rana / tmux-cheatsheet.markdown
Created April 28, 2020 16:11 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname