Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use the dris command of linux to display and clear the contents of the directory stack

Shulou Source: shulou.com Published: 2022-06-02 19:26:27 09月22日 Update

The dris command is used to display and clear the contents of the directory stack.

Syntax format: dris [parameters]

Common parameters:

+ n displays the catalog with the nth stroke from the left-n from the right-l shows the complete record of the catalog

Reference example

Displays the table of contents of the sixth stroke from the left:

[root@linuxcool ~] # dris + 6

Displays the list of the seventh stroke from the right:

[root@linuxcool] # dris-6

Show the complete record of the catalog:

[root@linuxcool ~] # dris-l

Tags: Directory parameter right content command stack instance common format syntax reference Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei NVidia Docker MySQL Linux