F3215-HP Load Balancing Module System Maintenance Command Reference-6PW101

103
Examples
# Remove file tt.cfg from the current directory.
<Sysname> delete tt.cfg
Delete cfa0:/tt.cfg? [Y/N]:y
.
%Delete file cfa0:/tt.cfg...Done.
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 drw- 6985954 Apr 26 2012 21:06:29 logfile
1 -rw- 1842 Apr 27 2012 04:37:17 mainup.bin
2 -rw- 1518 Apr 26 2012 12:05:38 config.cfg
3 -rw- 2045 May 04 2012 15:50:01 backcfg.cfg
4 -rwh 428 Apr 27 2012 16:41:21 hostkey
5 -rwh 572 Apr 27 2012 16:41:31 serverkey
6 -rw- 2737556 Oct 12 2012 01:31:44 [old.bin]
1048192 KB total (5096 KB free)
[ ] indicates this file is in the recycle bin.
# Display files and folders in the root directories of all storage media on the device.
<Sysname> dir /all-filesystems