---
name: "rhc"
section: "1"
platform: "linux"
package: "rhc"
version: "1.38.7-2"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/rhc"
---

# rhc(1)

Command line tool for performing operations related to your OpenShift account

## NAME

rhc - Command line tool for performing operations related to your OpenShift account

## SYNOPSIS

**rhc (\<resource\> \| --help) \[\<command\>\] \[\<args\>\]**

## DESCRIPTION

**rhc** Command line tool for performing operations related to your OpenShift account.

## LIST OF RESOURCES

- **account**

  Display details about your account

- **alias**

  Add or remove a custom domain name for the application

- **app**

  Create and manage an application

- **apps**

  List all your applications

- **authorization**

  Show the authorization tokens for your account

- **cartridge**

  Manage your application cartridges

- **deployment**

  Manage your application's deployments

- **domain**

  Manage a domain for a registered user

- **env**

  Manage user-defined environment variables set on a given application

- **git-clone**

  Clone and configure an application's repository locally

- **logout**

  Logout from the current session

- **member\|members**

  Manage membership on domains

- **port-forward**

  Forward remote ports to the workstation

- **server**

  Display information about the status of the service

- **setup**

  Run the setup wizard to configure your account

- **snapshot**

  Manage applications snapshots

- **ssh**

  SSH into the specified application

- **sshkey**

  Manage multiple keys for the registered OpenShift user

- **tail**

  Tail files from remote running applications in real-time

- **threaddump**

  Trigger a thread dump for JBoss and Ruby applications

- **-h\|--help\|help**

  Display help menu

## FILES

*\<ruby\_gem\_dir\>/gems/rhc-\<version\>/conf/express.conf*

The RubyGem system wide configuration file. See [**express.conf**(5)](/express.conf/5.md) for further details.

*/etc/openshift/express.conf*

The system wide configuration file. See [**express.conf**(5)](/express.conf/5.md) for further details.

*~/.openshift/express.conf*

Per user configuration file. See [**express.conf**(5)](/express.conf/5.md) for further details.

## BUGS

Please contact the Red Hat OpenShift team. Forums: https://openshift.redhat.com/community/forums/openshift IRC: #openshift on irc.freenode.net

## AUTHOR

Mike McGrath \<mmcgrath@redhat.com\>, Jim Jagielski \<jimjag@redhat.com\>, Marek Mahut \<mmahut@redhat.com\>

## SEE ALSO

[**express.conf**(5)](/express.conf/5.md)
