Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Linux dirs command

Linux dirs command

Linux Command Reference Linux Command Reference

The Linux dirs command is used to display directory records.

Display the records in the directory stack.

Syntax

dirs [+/-n -l]

Parameters:

Example

To list detailed information about all contents in "/home/cc/Ruijie", you can use the following command.



dir -l /home/cc/Ruijie

The following is the displayed content:



$ dir -l /home/cc/Ruijie



总计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 cc1938 2004-04-23 readme.txt



-rwxr-xr-x 1 cc cc 1350772 2005-08-31 xrgsu

Linux Command Reference Linux Command Reference