![H3C S5120-SI Series Operation Manual Download Page 571](http://html2.mh-extra.com/html/h3c/s5120-si-series/s5120-si-series_operation-manual_3711174571.webp)
1-2
Directory Operations
Directory operations include creating/removing a directory, displaying the current working directory,
displaying the specified directory or file information, and so on.
Displaying Directory Information
To do…
Use the command…
Remarks
Display directory or file
information
dir
[ /
all
] [
file
-
url
]
Required
Available in user view
Displaying the Current Working Directory
To do…
Use the command…
Remarks
Display the current working
directory
pwd
Required
Available in user view
Changing the Current Working Directory
To do…
Use the command…
Remarks
Change the current working
directory
cd
{
directory |
..
|
/
}
Required
Available in user view
Creating a Directory
To do…
Use the command…
Remarks
Create a directory
mkdir
directory
Required
Available in user view
Removing a Directory
To do…
Use the command…
Remarks
Remove a directory
rmdir
directory
Required
Available in user view