Cisco WS-C3750G-24TS-E1U Software Configuration Guide - Page 179
Remove a Directory, Enter a Directory and Determine Which Directory You Are
View all Cisco WS-C3750G-24TS-E1U manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 179 highlights
Appendix B Formatting the Compact Flash Memory Cards File and Directory Operations OL-1957-04 Remove a Directory To remove a directory from compact Flash memory, use the rmdir {flash: | slot0:} command. Before you can remove a directory, all files and subdirectories must be removed from the directory. The following example shows output for displaying the contents of an internal compact Flash card, then removing the subdirectory named test-config: Router# dir flash: Directory of flash:/config/ 1581 drw- 0 Mar 01 1993 23:50:08 test-config 128094208 bytes total (121626624 bytes free) Router# rmdir flash:/config/test-config Remove directory filename [/config/test-config]? Delete flash:/config/test-config? [confirm] Removed dir flash:/config/test-config Router# dir flash: Directory of flash:/config/ No files in directory 128094208 bytes total (121630720 bytes free) Enter a Directory and Determine Which Directory You Are In To enter a directory in compact Flash memory, use the cd command. To determine which directory you are in, use the pwd command. If you enter only cd, the router will enter the default home directory, which is flash:/. The following example shows output for the following actions: • Entering the home directory of a compact Flash memory card in an internal slot (flash:/) • Verifying that you are in the home directory • Displaying the contents of the home directory • Entering the /config directory • Verifying that you are in the /config directory • Entering the home directory of a compact Flash memory card in an external slot (slot0:/) • Verifying that you are in the slot0:/ directory • Returning to the home directory (flash:/) • Verifying that you are in the home directory Router# cd Router# pwd flash: Router# dir Directory of flash:/ 3 -rw1580 drw- 6458208 Mar 01 1993 00:04:08 c3725-i-mz.tmp 0 Mar 01 1993 23:48:36 config 128094208 bytes total (121630720 bytes free) Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers B-11