HP VPN Firewall Appliances System Management and Maintenance Command Reference

32
dir
Use dir to display files or folders.
Syntax
dir [ /all ] [ file-url | /all-filesystems ]
Views
User view
Default command level
3: Manage level
Parameters
/all: Displays all files and folders in the current directory, including hidden files, hidden folders, files
moved from the current directory to the recycle bin. Files in the recycle bin are enclosed in square
brackets [ ].
file-url: Displays the specified file. Asterisks (*) are acceptable as wildcards. For example, to display files
with the .txt extension in the current directory, enter dir *.txt.
/all-filesystems: Displays files and folders in the root directory of all storage media on the device.
Usage guidelines
If no parameter is specified, the command displays all visible files and folders in the current directory.
Examples
# Display information about all files and folders.
<Sysname> dir /all
Directory of cfa0:/
0 -rw- 38352332 May 14 2012 09:59:48 F100A_B108.BIN
1 drw- - May 14 2012 10:02:46 seclog
2 -rw- 233912 May 25 2012 09:49:26 system.xml
3 -rw- 891 May 14 2012 10:03:02 default_ca.cer
4 -rw- 1411 May 14 2012 10:03:02 default_local.cer
5 -rw- 3000185 May 25 2012 09:49:24 config.cwmp
6 -rw- 1023456 May 24 2012 10:02:22 utm-ips.dat
7 -rw- 811520 May 24 2012 10:03:38 utm-av.dat
8 -rw- 217542 May 25 2012 09:50:12 startup.cfg
9 -rw- 38015932 May 17 2012 06:12:18 F100A_b108d002.bin
10 -rw- 349812 May 17 2012 06:48:32 8042utm6346_v1.33.btw
11 -rw- 349812 May 17 2012 06:49:22 all
12 -rw- 294 May 18 2012 09:20:36 key.pub
13 -rw- 37975556 May 24 2012 06:40:08 F100A_b108d801.bin
14 -rw- 108 May 25 2012 08:59:02 patchstate
15 -rw- 1024 May 24 2012 09:44:36 utm-license.dat
1013792 KB total (896044 KB free)
[ ] indicates this file is in the recycle bin.