8 rename, 9 rmdir, Rename – PLANET XGS3-24042 User Manual
Page 109: Rmdir

XGS3 Command Guide
2-109
Display the current working directory.
Switch#pwd
flash:/
Switch#
2.8 rename
Command:
ename <source-file-url> <new-filename >
Function:
Rename a designated file on the switch.
Parameters:
Command Mode:
Admin Mode.
Usage Guide:
When using this command, if the new file name is not used as that of any existing directory or file, the rename
operation can be done, or a prompt will indicate its failure.
Example:
Change the name of file “nos.img” in the current working directory to “nos-6.1.11.0.img”.
Switch# rename nos5.img nos-6.1.11.0.img
Rename flash:/nos5.img to flash:/nos-6.1.11.0.img ok!
2.9 rmdir
Command:
rmdir <directory>
Function:
Delete a sub-directory in the designated directory on a certain device .
Parameters:
Command Mode:
Admin Mode.
Default Settings:
None.