EasyManua.ls Logo

Planet SGS-6341 Series - Chapter 2 File System Commands; Copy

Planet SGS-6341 Series
1206 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SGS-6341 Series Command Guide
2-105
Chapter 2 File System Commands
2.1 cd
Command:
cd <directory>
Function:
Change the working directory for the storage device.
Parameters:
<directory> is the sub-directory name, a sequence of consecutive characters whose length ranges from 1 to 80.
Command Mode:
Admin Mode.
Default Settings:
The default working directory is Flash.
Usage Guide:
After this command implemented, the current storage device will switch to the new working directory, which can be
viewed by the “pwd” command.
Example:
Change the working directory of the current storage device to flash.
Switch#cd flash
Switch#pwd
flash:/
Switch#
2.2 copy
Command:
copy <source-file-url > <dest-file-url>
Function:
Copy a designated file on the switch and store it as a new file.
Parameters:
<source-file-url> is the source file; <dest-file-url> is the destination file. When users operate on files stored in
backup main-control boardcards and line cards under IMG mode, URLs of the source file and the destination file
should take such a form as described in the following requirements.
1. The prefix of the source file URL should be in one of the following forms:
starting with “flash:/

Table of Contents

Related product manuals