89
Managing directories
CAUTION:
To avoid file system corruption, do not perform master/subordinate switchover during directory
operations.
You can create, display, or remove a directory, and display or change the current working 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.