R3166-R3206-HP High-End Firewalls System Management and Maintenance Configuration Guide-6PW101
18
Performing directory operations
You can perform an extensive set of directory operations, such creating or removing a directory,
displaying the current working directory, displaying a specific directory, or displaying file information.
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
NOTE:
• Before you remove a directory, you must delete all the files and the subdirectory in this directory. To
delete a file, see the delete command; to delete a subdirectory, see the rmdir command.
• The rmdir command automatically deletes the files in the recycle bin in the current directory.