3Com 4500 Switch User Manual


 
1-2
Directory Operations
The file system provides directory-related functions, such as:
z Creating/deleting a directory
z Displaying the current work directory, or contents in a specified directory
Follow these steps to perform directory-related operations:
To do… Use the command… Remarks
Create a directory
mkdir directory
Optional
Available in user view
Delete a directory
rmdir directory
Optional
Available in user view
Display the current work
directory
pwd
Optional
Available in user view
Display the information about
specific directories and files
dir [ /all ] [ /fabric | file-url ]
Optional
Available in user view
Enter a specified directory
cd directory
Optional
Available in user view
z Only empty directories can be deleted by using the rmdir command.
z In the output information of the dir /all command, deleted files (that is, those stored in the recycle
bin) are embraced in brackets.
File Operations
Follow these steps to perform file-related operations:
To do… Use the command… Remarks
Delete a file
delete [ /unreserved ] file-url
delete { running-files |
standby-files } [ /fabric ]
[ /unreserved ]
Optional
A deleted file can be restored
by using the undelete
command if you delete it by
executing the delete command
without specifying the
/unreserved keyword.
Available in user view
Restore a file in the recycle bin undelete file-url
Optional
Available in user view
Delete a file from the recycle
bin
reset recycle-bin [ file-url ]
[ /force ]
reset recycle-bin [ /fabric ]
Optional
Available in user view
Upgrade the software of the
whole fabric
update fabric file-name
Optional
Available in user view