# Common SSH commands

Рассмотрим основные команды, используемые при работе с сервером через SSH.

### ls <a href="#ls" id="ls"></a>

Выводит список файлов и папок в текущей директории.

### ls -la или ll <a href="#ls-la-ll" id="ls-la-ll"></a>

Выводит список файлов и папок в текущей директории, а также их размеры, владельца, права на них и дату последнего изменения.

### cd <a href="#cd" id="cd"></a>

Переход в указанную директорию.\
Вводится так: `cd директория`

### mv <a href="#mv" id="mv"></a>

Перемещение или переименование файла или папки.\
Вводится так: `mv текущее_имя новое_имя`

### rm <a href="#rm" id="rm"></a>

Удаление файла или папки.\
Вводится так: `rm путь_к_файлу`

### cp <a href="#cp" id="cp"></a>

Копирование файла или папки в другое место.\
Вводится так: `cp имя_файла куда_скопировать`

### chmod <a href="#chmod" id="chmod"></a>

Изменяет права доступа на файл или папку.

### chown <a href="#chown" id="chown"></a>

Изменяет владельца файла или папки.\
Вводится так: `chown пользовать:группа файл`

### mkdir <a href="#mkdir" id="mkdir"></a>

Создание директории по указанному пути.\
Вводится так: `mkdir путь`

### mc <a href="#mc" id="mc"></a>

Запускает файловый менеджер Midnight Commander.


---

# 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://help.vdsnow.ru/english/tutorials/vds-configuration/common-ssh-commands.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.
