Complete OpenShift keyboard shortcuts and commands reference — 16 shortcuts across 2 categories. Quick reference cheat sheet for Windows & Mac.
OpenShift is a popular DevOps/CLI tool used by professionals worldwide. Learning keyboard shortcuts can dramatically speed up your workflow — studies show shortcut users save an average of 8 days per year compared to mouse-only users.
This page covers all 16 OpenShift shortcuts across 2 categories: oc CLI Basics, Deployments & Builds. Each shortcut includes a description to help you understand when and how to use it effectively.
| Shortcut | Action |
|---|---|
| oc login <url> | Login |
| oc project <name> | Switch project |
| oc new-project <name> | Create project |
| oc get pods | List pods |
| oc get all | Get all resources |
| oc describe pod <name> | Describe pod |
| oc logs <pod> | View logs |
| oc rsh <pod> | Remote shell |
| Shortcut | Action |
|---|---|
| oc new-app <image> | New app |
| oc new-app --from-git <url> | App from Git |
| oc start-build <buildconfig> | Start build |
| oc rollout status dc/<name> | Rollout status |
| oc rollout latest dc/<name> | Trigger deploy |
| oc rollout undo dc/<name> | Rollback |
| oc scale dc/<name> --replicas=3 | Scale |
| oc expose svc/<name> | Expose route |
The most essential OpenShift shortcuts are: oc login
OpenShift has 16 keyboard shortcuts across 2 categories on shortcut-tools.com.
Simply press the key combination while OpenShift is focused. Most shortcuts work immediately. On Mac, replace Ctrl with Cmd and Alt with Option for most shortcuts.
The OpenShift shortcut for login is oc login
Start with the essentials: Learn oc login
Practice daily: Pick 2–3 new shortcuts each day and consciously use them instead of the mouse. Within a week, they become muscle memory.
Print this cheat sheet: Keep a reference nearby until shortcuts become automatic. Focus on the oc CLI Basics category first.
CLI tip: Create shell aliases for the commands you use most. Combine them with these shortcuts for maximum efficiency.