mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
30 lines
721 B
Plaintext
30 lines
721 B
Plaintext
|
|
// Module included in the following assemblies:
|
||
|
|
//
|
||
|
|
// * microshift_cli_ref/microshift-oc-cli-commands.adoc
|
||
|
|
|
||
|
|
:_mod-docs-content-type: CONCEPT
|
||
|
|
[id="microshift-oc-cmd_{context}"]
|
||
|
|
= OpenShift administrator commands
|
||
|
|
|
||
|
|
[role="_abstract"]
|
||
|
|
If you have `cluster-admin` or equivalent permissions, you can list administrator commands.
|
||
|
|
|
||
|
|
* Enter the `oc adm -h` command to list all administrator commands:
|
||
|
|
+
|
||
|
|
[source,terminal]
|
||
|
|
----
|
||
|
|
$ oc adm -h
|
||
|
|
----
|
||
|
|
|
||
|
|
* Enter the `oc <command> --help` command to get additional details for a specific command:
|
||
|
|
+
|
||
|
|
[source,terminal]
|
||
|
|
----
|
||
|
|
$ oc <command> --help
|
||
|
|
----
|
||
|
|
+
|
||
|
|
[IMPORTANT]
|
||
|
|
====
|
||
|
|
Using `oc <command> --help` lists details for any `oc` command. Not all `oc` commands apply to using {product-title}.
|
||
|
|
====
|