Managing directories, Displaying directory information, Displaying the current working directory – H3C Technologies H3C S12500 Series Switches User Manual
Page 102: Changing the current working directory, Creating a directory, Removing a directory

90
Managing directories
You can create or remove a directory, and display the current working directory, the specified directory,
and file information.
Displaying directory information
Perform this task in user view.
Task Command
Display directory or file information.
dir [ /all ] [ file-url | /all-filesystems ]
Displaying the current working directory
Perform this task in user view.
Task Command
Display the current working directory.
pwd
Changing the current working directory
Perform this task in user view.
Task Command
Change the current working directory.
cd { directory | .. | / }
Creating a directory
Perform this task in user view.
Task Command
Create a directory.
mkdir directory
Removing a directory
To remove a directory, you must delete all the files and the subdirectory in this directory. To delete a file,
use the delete command; to delete a subdirectory, use the rmdir command.
The rmdir command automatically deletes the files in the recycle bin in the current directory.
Perform this task in user view.
- H3C S12500-X Series Switches H3C S9800 Series Switches H3C S9500E Series Switches H3C S5560 Series Switches H3C S5130 Series Switches H3C S5120 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C WX3000E Series Wireless Switches H3C WX5500E Series Access Controllers H3C WX3500E Series Access Controllers H3C WX2500E Series Access Controllers H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSUM3WCMD0 Access Controller Module H3C LSUM1WCME0 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C WA3600 Series Access Points H3C WA2600 Series WLAN Access Points H3C SecPath F5020 H3C SecPath F5040 H3C VMSG VFW1000 H3C S10500 Series Switches