text: Use the**oc exec POD_NAME COMMAND**command to execute commands against a Pod: 
  
  **oc exec docker-registry-3-4flql hostname**
  docker-registry-3-4flq 
  
  Use the**oc rsh POD_NAME**command to start a remote shell connection to the Pod. This is 
  useful for logging in and investigating issues in a running Pod: 
  
  **oc rsh docker-registry-3-4flql**
  **sh-4.2$ hostname**
  docker-registry-3-4flql 
  **sh-4.2$ ls /**
  bin boot config.yml dev etc home lib lib64 media mnt opt proc registry root 
  run sbin srv sys tmp usr var 
  **sh-4.2$ exit**
  exit 
  
  Use the**oc status**command to get a high-level status of the current project: 