4 dir – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 728
CanogaOS Command Line Reference
Revision 1.02
Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches
Page 728 of 855
Privileged EXEC
Usage
If you attempt to delete the configuration file or image, the system prompts you to confirm the deletion.
Also, if you attempt to delete the system specified file such as DHCP snooping bindings, the system
prompts you to confirm the deletion.
Examples
The following example deletes the file named test from the flash:
Switch# delete flash:/test
Are you sure to delete flash:/test? [yes/no]:y
Switch#
Related Commands
copy
39.4 dir
To display a list of files on a file system, use the dir command in EXEC mode.
Command Syntax
dir [flash:][directory-name][file-name]
flash: The
flash
system.
directory-name The directory in flash:
file-name
The file name.
Command Mode
EXEC
Default
The default file system is specified by the cd command.
Usage
Use the show (Flash file system) command to display flash information.
Examples
The following is sample output from the dir command:
Switch# dir
Directory of flash:/
total 42
drwxr-xr-x 2 0 Jul 30 15:42 boot