# Terminal

<figure><img src="https://1767247338-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMXXfpTvt6Xe4Y0tCwViA%2Fuploads%2FmQkiYZuaPlaXYAFd29B1%2FTerminal.png?alt=media&#x26;token=c22ae72d-6b4d-483f-ba61-3c029402174b" alt=""><figcaption><p>Terminal</p></figcaption></figure>

To open a terminal after selecting a cluster, it can be done in three different ways:

1. Using the application Menu:

<figure><img src="https://1767247338-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMXXfpTvt6Xe4Y0tCwViA%2Fuploads%2FUpBnBccoE0FkUx9oSqGY%2FScreenshot%202024-04-27%20at%207.47.35%20PM.png?alt=media&#x26;token=e41705e6-e5d7-4a23-bbee-84b42c3813a0" alt=""><figcaption></figcaption></figure>

2. When selecting a Pod and click on SSH:&#x20;

Using the side editor, the user can click on "SSH" to connect to the selected Pod via SSH. If the Pod has more than one container, a modal will appear to choose which container to connect to.

<figure><img src="https://1767247338-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMXXfpTvt6Xe4Y0tCwViA%2Fuploads%2FiWYc14LVHV4ilVby4fWT%2FquickeditorView.png?alt=media&#x26;token=a53f2d12-a446-4a9d-96be-cf5886b990f6" alt=""><figcaption></figcaption></figure>

3. When selecting a Pod and click on LOG: \
   We open a terminal that displays the logs of the selected Pod. If the Pod has more than one container, a modal will appear to choose which container to connect to.

   <br>

The K8studio terminal provides the following functionality.

* Download content.
* Copy selection.
* Open a new terminal
* Selected bash to use in the terminal:

<figure><img src="https://1767247338-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMXXfpTvt6Xe4Y0tCwViA%2Fuploads%2FAOtnelECXrZupMkeh3ur%2Fbinbash.png?alt=media&#x26;token=baa18ae1-814c-4e96-86b5-f3823165fd23" alt=""><figcaption></figcaption></figure>

* Search text in the content of the terminal.

<figure><img src="https://1767247338-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMXXfpTvt6Xe4Y0tCwViA%2Fuploads%2FMbUW34BCN8vHSV0BIRWw%2Fsearch.png?alt=media&#x26;token=11dd9da7-4073-4b55-bc95-523bb5ac88f3" alt=""><figcaption></figcaption></figure>
