102Changing the current working directoryTo do… Use the command… RemarksChange the current workingdirectory cd { directory | .. | / } RequiredAvailable in user viewCreating a directoryTo do… Use the command… RemarksCreate a directory mkdir directory RequiredAvailable in user viewRemoving a directoryTo do… Use the command… RemarksRemove a directory rmdir directory RequiredAvailable in user viewNOTE:• Before you remove a directory, you must delete all the files and the subdirectory in this directory. Todelete 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.Managing storage mediaManaging the space of a storage mediumWhen the space of a storage medium becomes inaccessible, you can use the fixdisk command to restorethe space of the storage medium. The format command formats the storage medium, and all the data onthe storage medium is deleted.Use the following commands to manage the space of a storage medium:To do… Use the command… RemarksRestore the space of a storagemedium fixdisk device OptionalAvailable in user viewFormat a storage medium format device OptionalAvailable in user viewCAUTION:When you format a storage medium, all the files stored on it are erased and cannot be restored. If astartup configuration file exists on the storage medium, formatting the storage medium results in loss of thestartup configuration file.