Directory
s:
z
Creating/deleting a directory
z
Displayi
nt work directo
ified directory
F
perform direc
ations:
Operations
The file system provides directory-related functions, such a
ng the curre
ry, or contents in a spec
ollow these steps to
tory-related oper
To do…
Use the command…
Remarks
Create a directory
mkdir
directory
ser view
Optional
Available in u
Delete a directory
rmdir
directory
ser view
Optional
Available in u
Display the current work
directory
pwd
ser view
Optional
Available in u
Display the information about
specific directories and files
dir
[
/all
] [
/fabric
|
file
-
url
]
Available in user view
Optional
Enter a specified directory
cd
directory
Optional
Available in user view
z
Only empty directories can be deleted by using the
rmdir
command.
In the output information of the
dir
/
all
command, deleted files (that is, those stored in the recycle
bin) are embraced in brackets.
z
File Operations
Follow these steps to perform file-related operations:
Use the command…
Remarks
To do…
Delete a file
ed
]
file
-
url
delete
{
running-files
|
standby-files
} [
/fabric
]
stored
it by
mand
ecifying the
Available in user view
delete
[
/unreserv
[
/unreserved
]
Optional
A deleted file can be re
by using the
undelete
command if you delete
executing the
delete
com
without sp
/unreserved
keyword.
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
ic
file-name
Available in user view
update fabr
Optional
56-2