4 dir – CANOGA PERKINS 9175 Command Reference User Manual
Page 656
CanogaOS Command Reference
39-3
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
drwxr-xr-x 3 0 Jan 1 1970 conf
drwxr-xr-x 2 0 Jan 1 1970 log
-rw-r----- 1 1020 Jul 29 19:18 startup-config.conf
-rw-r--r-- 1 10270 Jul 30 10:10 syslog
-rw-r--r-- 1 6886 Jul 29 23:59 syslog.1.gz
63.0M bytes total (30.4M bytes free)
Switch#
- 3240S SNMP-Managed T1/E1 Fiber-Optic Multiplexer (50 pages)
- 3240S SNMP-Managed T1/E1 Fiber-Optic Multiplexer (48 pages)
- 9160 10 Gigabit Ethernet Network Interface Device (55 pages)
- 9160 10 Gigabit Ethernet Network Interface Device (46 pages)
- 9160 10 Gigabit Ethernet Network Interface Device (52 pages)
- 9171 Metro Ethernet Routing Switch (26 pages)
- 2201 Rack Chassis (18 pages)
- 2270 Fiber Optic Modem (64 pages)
- 3240S SNMP Managed Fiber Optic Multiplexer (108 pages)
- 2240 Fiber Optic Modem (106 pages)
- 2240 Fiber Optic Modem (98 pages)
- 2262 T1/E1 Fiber Optic Modem (28 pages)
- 2262 T1/E1 Fiber Optic Modem (27 pages)
- 8829 UTP-to-Fiber Optic Media Converter (42 pages)
- 9119 Rack Mount 100BASE-TX/FX Media Converter (30 pages)
- 9101 LAN Chassis (31 pages)
- 9120 Gigabit Ethernet Media Converter (33 pages)
- 9135 Two-Port SNMP Managed Fast Ethernet Switch (99 pages)
- UCS 1000 Universal Chassis System (20 pages)
- 1202 Chassis Interconnect Module (18 pages)
- 1202 Chassis Interconnect Module (16 pages)
- 2345 T3 Fiber Optic Modem (46 pages)
- OADM (7 pages)
- OADM (6 pages)
- 6004 Wave Division Multiplexer (8 pages)
- 2461 E1 Modem (80 pages)
- 2461 E1 Modem (74 pages)
- 2361 T1 Modem (76 pages)
- 1200 Chassis Interconnect Module (18 pages)
- 1500 Domain Management Module (55 pages)
- 1500 Domain Management Module (56 pages)
- 1500 Domain Management Module (57 pages)
- 1502 Domain Management Module (54 pages)
- 1502 Domain Management Module (44 pages)
- L322 Fast Ethernet Media Converter (38 pages)
- L357 Gigabit Ethernet Service Unit (62 pages)
- L357 Gigabit Ethernet Service Unit (60 pages)
- L357 Gigabit Ethernet Service Unit (58 pages)
- UCS 1001 Universal Chassis System (16 pages)
- CanogaView Smart Element Manager (83 pages)
- CanogaView Smart Element Manager (77 pages)
- CanogaView Smart Element Manager (80 pages)
- L351 10/100BASE Media Converter (78 pages)
- L351 10/100BASE Media Converter (53 pages)
- L351 10/100BASE Media Converter (76 pages)