Linux Comm Dirs
# Linux dirs Command
[ Linux Command Manual](#)
The Linux dirs command is used to display directory records.
Displays records in the directory stack.
### Syntax
dirs [+/-n -l]
**Parameters**:
* +n Displays the nth directory from the left.
* -n Displays the nth directory from the right.
* -l Displays the complete directory records.
### Example
List detailed information for all contents in "/home/cc/Ruijie". You can use the following command.
dir -l /home/cc/Ruijie
The output is as follows:
$ dir -l /home/cc/Ruijie
total 2168
-rwxr-xr-x 1 cc cc 112876 2008-06-26 libpcap.so.0.6.2
-rwxr-xr-x 1 cc cc 737192 2008-06-26 libstdc++.so.5
-rwxr-xr-x 1 cc cc 1938 2004-04-23 readme.txt
-rwxr-xr-x 1 cc cc 1350772 2005-08-31 xrgsu
[ Linux Command Manual](#)
YouTip