R3303-HP HSR6800 Routers Fundamentals Configuration Guide

99
Managing directories
You can create or remove a directory, display or change the current working directory, and display a
specific directory.
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 files and subdirectories in this directory. To delete a file, use the
delete command. To delete a subdirectory, use the rmdir command.
Removing a directory permanently deletes all its files in the recycle bin, if any.
Perform this task in user view.