File system operations example – H3C Technologies H3C S7500E Series Switches User Manual

Page 131

Advertising
background image

8-10

To do…

Use the command…

Remarks

Enter system view

system-view

Set the operation prompt mode of

the file system

file prompt { alert | quiet }

Optional

The default is alert.

File System Operations Example

# Display the files and the subdirectories under the current directory.

<Sysname> dir

Directory of flash:/

0 drw- - Feb 16 2006 11:45:36 logfile

1 -rw- 1218 Feb 16 2006 11:46:19 config.cfg

2 drw- - Feb 16 2006 15:20:27 test

3 -rw- 184108 Feb 16 2006 15:30:20 aaa.app

64389 KB total (2521 KB free)

# Create a new folder called mytest under the test directory.

<Sysname> cd test

<Sysname> mkdir mytest

%Created dir flash:/test/mytest.

# Display the current working directory.

<Sysname> pwd

flash:/test

# Display the files and the subdirectories under the test directory.

<Sysname> dir

Directory of flash:/test/

0 drw- - Feb 16 2006 15:28:14 mytest

64389 KB total (2519 KB free)

# Return to the upper directory.

<Sysname> cd ..

# Display the current working directory.

<Sysname> pwd

flash:

Advertising