> For the complete documentation index, see [llms.txt](https://hezhiqiang.gitbook.io/linux/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hezhiqiang.gitbook.io/linux/ming-ling/dris.md).

# dris

显示和清空目录堆栈中的内容

## 补充说明

**dris命令** 用于显示和清空目录堆栈中的内容。

### 语法

```
dris(选项)
```

### 选项

```
+n：显示从左边算起第n笔的目录；
-n：显示从右边算起第n笔的目录；
-l：显示目录完整的记录。
```
