Easy Tutorial
❮ Linux Comm Httpd Linux Comm Fdisk ❯

Linux dirs Command

Linux Command Handbook

The Linux dirs command is used to display directory entries.

Displays records in the directory stack.

Syntax

dirs [+/-n -l]

Parameters:

Example

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

dir -l /home/cc/Ruijie

Below is the displayed content:

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

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

Linux Command Handbook

❮ Linux Comm Httpd Linux Comm Fdisk ❯