# ranger终端文件管理器

如果没有root权限，有时候管理文件也不是很方便。ranger是一个终端文件管理器。

```
pkg install ranger
```

常用快捷键：

```
q   退出
f   搜索
/   搜索
gg  跳到顶端
G   跳到底端

yy      复制
dd      剪切
pp      粘贴
:delete  删除

zh      显示隐藏文件
zp      打开/关闭文件预览功能
zP      打开目录预览功能
```


---

# 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://termux-wiki.zsxwz.com/untitled/ranger-zhong-duan-wen-jian-guan-li-qi.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.
