Cisco Systems 12410 Router User Manual


 
Chapter 4 System Startup and Basic System Configuration
Using RP Flash Memory Cards
4-50
Cisco 12010, Cisco 12410, and Cisco 12810 Router Installation and Configuration Guide
OL-11496-01
dir Command
To list the directory contents of the flash memory in use, enter the
dir [device-name] command.
Where device-name can be slot0:, slot1:, or bootflash:.
The following example shows the contents of the flash memory card in slot 0.
Milo# dir slot0
Directory of slot0:/
1 -rw- 122015 Sep 30 1999 15:03:55 myfile1
2 -rw- 2054979 Sep 30 1999 15:17:33 gsr-diag-mz.RELEASE28
3 -rw- 6670560 Sep 30 1999 15:22:49 gsr-p-mz.p7
4 -rw- 5560 Oct 08 1999 16:54:53 fun1
20578304 bytes total (9661756 bytes free)
Milo#
delete Command
To delete a file from flash memory, use the cd command to select the flash
memory device and then enter the delete filename command.
Where filename is any file within the selected flash memory media.
The following example shows how to delete the file named fun1 from the current
flash memory card directory in slot 0.
Milo# cd slot0:
Milo# delete slot0:fun1
Milo# dir
Directory of slot0:/
1 -rw- 122015 Sep 30 1999 15:03:55 myfile1
2 -rw- 2054979 Sep 30 1999 15:17:33 gsr-diag-mz.RELEASE28
3 -rw- 6670560 Sep 30 1999 15:22:49 gsr-p-mz.p7
20578304 bytes total (9661756 bytes free)
Milo#
Files that are deleted from the current flash memory directory are removed from
the directory list but are not erased (they still occupy space in memory). This
allows you to recover a deleted file at a later time using the undelete command.
To permanently remove deleted files use the squeeze command.