> For the complete documentation index, see [llms.txt](https://wiki.u1host.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.u1host.com/software-setup/screen-linux-tool.md).

# Screen – мощный консольный мультиплексор для Linux-систем

Screen — программное обеспечение, позволяющее создавать множество окон для одновременного выполнения сразу нескольких задач, при этом процессы остаются активными даже при выходе.

### Процесс установки

Для установки Screen в Debian/Ubuntu и производных системах используйте команду:

```
apt-get install -y screen
```

***

### Запуск и основы работы со Screen

{% hint style="warning" %}
Во всех случаях для корректной работы важен регистр команд.
{% endhint %}

#### Создание нового окна

Для создания нового окна screen с определенным именем используйте команду:

```
screen -S <NAME>
```

Где `<NAME>` — произвольное имя, которое поможет вам идентифицировать сессию.

#### Переход в существующее окно

Чтобы подключиться к ранее созданной сессии Screen, используйте:

```
screen -x <NAME>
```

#### Просмотр списка сессий

Для получения списка всех активных сессий Screen используйте команду:

```
screen -ls
```

#### Отключение от текущей сессии

Чтобы отсоединиться от активной сессии Screen, сохраняя при этом все запущенные процессы, используйте комбинацию клавиш:

```
CTRL + A + D
```

Сначала нажмите `CTRL + A`, затем `D`.

***

### Преимущества использования Screen

* Сохранение активности процессов после отключения от сервера
* Возможность одновременной работы с несколькими задачами
* Удобное переключение между сессиями
* Защита от потери работы при нестабильном соединении
* Экономия системных ресурсов

Screen является незаменимым инструментом для системных администраторов и разработчиков, позволяя эффективно организовать рабочий процесс в консольной среде.

***

### Наши ресурсы

**Telegram-канал:** <https://t.me/u1host>\
**U1HOST:** [https://u1host.com](https://u1host.com/)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://wiki.u1host.com/software-setup/screen-linux-tool.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
