Command Manual – File System Management 
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1  File System Management Configuration
 Commands
 
Huawei Technologies Proprietary 
1-10 
Parameter 
/all: Displays the information about all the files, including those in the recycle bin. 
/fabric: Displays the information about all the specified files in the fabric. 
file-ur: Path name or the name of a file in the Flash memory. You can use the * 
character as a wildcard. For example, the dir *.txt command displays the information 
about all the files with the extension of txt in the current directory. 
Description 
Use the dir command to display the information about the specified files or directories 
in the Flash memory on a switch. 
You can use the * character as a wildcard.  
In the output information, files with the main, backup or main/backup attribute a 
tagged.. 
 
  Note: 
In the output information of the dir /all command, deleted files (that is, those in the 
recycle bin) are embraced in brackets. 
 
Example 
# Display the information about all the normal files in the root directory of the file system 
on the local unit. 
<Quidway> dir 
Directory of unit1>flash:/ 
   1 (*)   -rw-   5792495  Apr 02 2000 00:06:50   s3900.bin 
   2 (*)   -rw-      1965  Apr 01 2000 23:59:13   3comoscfg.cfg 
   3       -rw-   5841301  Apr 02 2000 21:42:13   s3900d8.bin 
   4       -rw-       224  Apr 02 2000 01:36:30   s3800.bin 
   5       -rw-    279296  Apr 02 2000 00:22:01   test.abc 
15367 KB total (3720 KB free) 
(*) -with main attribute   (b) -with backup attribute 
(*b) -with both main and backup attribute    
# Display the information about all the files (including the files in the recycle bin) in the 
root directory of the file system of the fabric. 
<Quidway> dir /all /fabric 
Directory of unit1>flash:/ 
   1 (*)   -rw-   5792495  Apr 02 2000 00:06:50   s3900.bin 
   2       -rwh         4  Apr 01 2000 23:55:26   snmpboots