8 rename – CANOGA PERKINS 9175 Command Reference User Manual

Page 659

Advertising
background image

CanogaOS Command Reference

39-6

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


Usage

This command is valid only for local file systems


Examples

In the following example, the file named Karen.1 is renamed test:

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

Advertising