Complete OpenShift keyboard shortcuts and commands reference — 16 shortcuts across 2 categories. Quick reference cheat sheet for Windows & Mac.
| 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 <url> (Login), oc project <name> (Switch project), oc new-project <name> (Create project).
The OpenShift shortcut for login is oc login <url>.
Yes — use My Stack to combine OpenShift shortcuts with any other platform on this site into one printable reference, which is useful if your daily workflow spans several tools.
Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"