Creating A New Directory - Cisco 2800 Series Manual

Hide thumbs Also See for 2800 Series:
Table of Contents

Advertisement

To display a list of files in the directory that you are in, enter the dir command in privileged EXEC
mode. The command-line interface will display the files in the file system that was specified as the
default by the cd command.
Router# dir
Directory of flash:/
1580
63930368 bytes total (51007488 bytes free)
Entering a Directory: Example
To enter the /config directory:
Router# cd config
To verify that you are in the /config directory:
Router# pwd
flash:/config/
Router# dir
Directory of flash:/config/
380
203
63930368 bytes total (51007488 bytes free)

Creating a New Directory

To create a directory in flash memory, enter the mkdir flash: command in privileged EXEC mode.
Creating a New Directory: Example
In the following example, a new directory named "config" is created; then a new subdirectory named
"test-config" is created within the "config" directory.
Router# dir flash:
63930368 bytes total (51007488 bytes free)
Router# mkdir flash:/config
Create directory filename [config]?
Created dir flash:/config
Router# mkdir flash:/config/test-config
Create directory filename [/config/test-config]?
Created dir flash:/config/test-config
OL-5596-01
-rw-
6462268
Mar 06 2004 06:14:02
3
-rw-
6458388
Mar 01 2004 00:01:24
-rw-
6462268
Mar 08 2004 06:14:02
-rw-
6458388
Mar 03 2004 00:01:24
Directory of flash:/
1580
-rw-
6462268
3
-rw-
6458388
Directory Operations on a CompactFlash Memory Card
c28xx-i-mz.3600ata
c28xx-i-mz
myconfig1
myconfig2
Mar 06 2004 06:14:02
c28xx-i-mz.3600ata
Mar 01 2004 00:01:24
c28xx-i-mz
Using CompactFlash Memory Cards
9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents