7 mkdir, 8 rename – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 731
CanogaOS Command Line Reference
Revision 1.02
Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches
Page 731 of 855
39.7 mkdir
To create a new directory in a Flash file system, use the mkdir command in EXEC mode.
Command Syntax
mkdir directory-name
directory-name
The directory in flash:
Command Mode
Privileged EXEC
Usage
This command is valid only for local file systems
Examples
The following example creates a directory named newdir:
Switch# mkdir flash:/newdir
Switch# dir
Directory of flash:/
total 43
drwxr-xr-x 2 0 Jul 30 16:35 newdir
63.0M bytes total (30.4M bytes free)
Related Commands
rmdir
dir
39.8 rename
To rename a file in a Class C Flash file system, use the rename command in EXEC mode.
Command Syntax
rename old-filename new-filename
old-filename
The original file name in flash:
new-filename
The new file name in flash:.
Command Mode
Privileged EXEC