Command Reference Guide

dir 545
Examples — The following commands copy file testconfig to a TFTP
server and delete the file from nonvolatile storage:
WX4400# copy testconfig tftp://10.1.1.1/testconfig
success: sent 365 bytes in 0.401 seconds [ 910 bytes/sec]
WX4400# delete testconfig
success: file deleted.
The following commands delete file dang_doc from subdirectory dang:
WX4400# delete dang/dang_doc
success: file deleted.
See Also
copy on page 542
dir on page 545
dir Displays a list of the files in nonvolatile storage and temporary files.
Syntaxdir [subdirname]
subdirname — Subdirectory name. If you specify a subdirectory name,
the command lists the files in that subdirectory. Otherwise, the
command lists the files in the root directory and also lists the
subdirectories.
Defaults — None.
Access — Enabled.
History —Introduced in MSS Version 3.0.
Examples — The following command displays the files in the root
directory:
WX4400# dir
===============================================================================
file:
Filename Size Created
file:configuration 17 KB May 21 2004, 18:20:53
file:configuration.txt 379 bytes May 09 2004, 18:55:17
file:dangcfg 13 KB May 16 2004, 18:30:44
dangdir/ 512 bytes May 16 2004, 17:23:44
old/ 512 bytes Sep 23 2003, 21:58:48
Total: 32 Kbytes used, 207824 Kbytes free