Directory operations, Displaying directory information, Displaying the current working directory – H3C Technologies H3C S5120 Series Switches User Manual

Page 603: Changing the current working directory, Creating a directory, Removing a directory

Advertising
background image

1-2

Directory Operations

Directory operations include creating/removing a directory, displaying the current working directory,

displaying the specified directory or file information, and so on.

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

Advertising