3Com 10014298 manual Mode of the File System, Perform the following operation in system view

Models: 10014298

1 294
Download 294 pages 41.59 Kb
Page 244
Image 244

244 CHAPTER 11: SYSTEM MANAGEMENT

Table 257 Directory Operation

Operation

Command

 

 

Delete a directory

rmdir directory

Display the current working directory

pwd

Display the information about directories or

dir [ / all ] [ file-url ]

files

 

Change the current directory

cd directory

 

 

Managing Files You can use the file system to delete, undelete, or permanently delete a file. It can also be used to display file contents; rename, copy, and move a file; and display the information about a specified file. Use the commands in Table 258 to perform file operations.

Perform the following operations in user view.

Table 258 File Operation

Operation

Command

 

 

Delete a file from the file system and move it

delete file-url

to the recycle bin

 

Restore a file from the recycle bin

undelete file-url

Delete a file from the recycle bin permanently

reset recycle-bin file-url

View contents of a file

more file-url

Rename a file

rename fileurl-source

 

fileurl-dest

Copy a file

copy fileurl-source fileurl-dest

Move a file

move fileurl-source fileurl-dest

Display the information about directories or

dir [ / all ] [ file-url ]

files

 

Execute the specified batch file (System view)

execute filename

 

 

Formatting Storage The file system can be used to format the flash memory on the Switch 7750 fabric Devices module.

Perform the following operation in user view.

Table 259 Formatting Storage Devices

Operation

Command

 

 

Format the storage device

format filesystem

 

 

Setting the Prompt Use the command in Table 260 to confirm prompts for file system commands.

Mode of the File System

Perform the following operation in system view.

Table 260 File System Operation

Operation

Command

 

 

Set the file system prompt mode.

file prompt { alert quiet }

 

 

Page 244
Image 244
3Com 10014298 manual Mode of the File System, Perform the following operation in system view, File Operation