English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Linux dirs command

Linux Command大全

Linux dirs command is used to display directory records.

Display records in directory stack.

Syntax

dirs [+/-n -l]

Parameter:

  • +n Display the nth record from the left side of the directory.
  • -n Display the nth record from the right side of the directory.
  • -l Display the complete record of the directory.

Online Examples

List"/home/cc/Detailed information of all contents in "Ruijie". You can use the following command.

dir -l /home/cc/Ruijie

The following is the displayed content:

$ dir -l /home/cc/Ruijie
Total2168
-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大全