# Terminal

<figure><img src="/files/jViwJGFtUjHZQMF6U0Sa" 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="/files/i1NBWUcwv06gvaH0M9QO" 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="/files/bj4YH4nbE6n33rgVLRvr" 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="/files/ZDauof3eqEIqGTYZGAMd" alt=""><figcaption></figcaption></figure>

* Search text in the content of the terminal.

<figure><img src="/files/VuIkxFzuiHqdIUgbHXvr" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.k8studio.io/documentation/terminal.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
