24 | File Management
www.dell.com | support.dell.com
delete
Delete a file from the flash. Once deleted, files cannot be restored.
Syntax
delete flash: ([flash://]filepath) usbflash ([usbflash://]filepath)
Parameters
Command Modes
EXEC Privilege
Command
History
dir
Display the files in a file system. The default is the current directory.
Syntax
dir [filename | directory name:]
Parameters
Command Modes
EXEC Privilege
Command
History
Example
Figure 3-3. dir for the Internal Flash Command Example
Related
Commands
flash-url
Enter the following location and keywords:
• For a file or directory on the internal Flash, enter
flash:// followed by the filename or
directory name.
• For a file or directory on the external Flash, enter
usbflash:// followed by the filename
or directory name.
no-confirm
(OPTIONAL) Enter the keyword
no-confirm to specify that FTOS does not require user
input for each file prior to deletion.
Version 8.3.16.1 Introduced on MXL 10/40GbE Switch IO Module
filename | directory name:
(OPTIONAL) Enter one of the following:
• For a file or directory on the internal Flash, enter
flash:// followed
by the filename or directory name.
• For a file or directory on the external Flash, enter
usbflash://
followed by the filename or directory name:
Version 8.3.16.1 Introduced on MXL 10/40GbE Switch IO Module
FTOS#dir
Directory of flash:
1 drwx 4096 Jan 01 1980 00:00:00 +00:00 .
2 drwx 2048 Mar 06 2010 00:36:21 +00:00 ..
3 drwx 4096 Feb 25 2010 23:32:50 +00:00 TRACE_LOG_DIR
4 drwx 4096 Feb 25 2010 23:32:50 +00:00 CORE_DUMP_DIR
5 d--- 4096 Feb 25 2010 23:32:50 +00:00 ADMIN_DIR
6 -rwx 720969768 Mar 05 2010 03:25:40 +00:00 6gb
7 -rwx 4260 Mar 03 2010 22:04:50 +00:00 prem-23-5-12
8 -rwx 31969685 Mar 05 2010 17:56:26 +00:00
FTOS-XL-8-3-16-148.bin
9 -rwx 3951 Mar 06 2010 00:36:18 +00:00 startup-config
flash: 2143281152 bytes total (1389801472 bytes free)
FTOS#
cd Changes the working directory.