
296
C
HAPTER
12: F
ILE
S
YSTEM
M
ANAGEMENT
Directory Operation
You can use the file system to create or delete a directory, display the current
working directory, and display the information about the files or directories under
a specified directory. You can use the following commands to perform directory
operations.
Perform the following configuration in User View.
Table 333
Directory Operation
File Operation
The file system can be used to delete or undelete a file and permanently delete a
file. Also, it can be used to display file contents, rename, copy and move a file and
display the information about a specified file.
Using the
delete file-url
command to delete a file, leaves the contents of the
file on the flash file system and does not free flash space. The file can be recovered
using the
undelete
command. To delete a file and free space on the flash file
system use the
delete /unreserved file-url
command. Using this command
will ensure that space is made available on the flash file system for additional
information. To ensure that all deleted files have been removed from the system
use the
reset recycle-bin
command, this will prompt for removal of all files in
the file system.
When operating in a stack of switches to clear space the user has to change to the
flash of each switch in the stack separatly and then clear space in the file system of
each switch in turn. Use the
cd directory
command for changing focus to a
different switches file system or the
unit2>flash: device name
parameter for
the command "reset recycle".
You can use the following commands to perform file operations.
Perform the following configuration in User View.
Table 334
File Operation
Operation
Command
Create a directory
mkdir
directory
Delete a directory
rmdir
directory
Display the current working directory
pwd
Display the information about directories or files
dir [ / all ] [
file-url
]
Change the current directory
cd
directory
Operation
Command
Delete a file
delete [ /unreserved ]
file-url
Undelete a file
undelete
file-url
Delete a file from the recycle bin permanently
reset recycle-bin
[
file-url
] [
/ force ]
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 files
dir [ / all ] [
file-url
✽
Содержание SuperStack 4
Страница 6: ...18 ABOUT THIS GUIDE ...
Страница 13: ...Logging in to the Switch 25 Figure 3 Setting up a New Connection Figure 4 Configuring the Port for Connection ...
Страница 34: ...46 CHAPTER 1 GETTING STARTED ...
Страница 62: ...74 CHAPTER 3 VLAN OPERATION ...
Страница 69: ...PoE Configuration 81 ...
Страница 70: ...82 CHAPTER 4 POWER OVER ETHERNET POE CONFIGURATION ...
Страница 98: ...110 CHAPTER 5 NETWORK PROTOCOL OPERATION ...
Страница 220: ...232 CHAPTER 8 ACL CONFIGURATION ...
Страница 408: ...420 CHAPTER B RADIUS SERVER AND RADIUS CLIENT SETUP ...
Страница 432: ...444 APPENDIX D 3COM XRN ...