beautypg.com

Example for file operations – H3C Technologies H3C SecPath F1000-E User Manual

Page 175

background image

8

To do…

Use the command…

Remarks

Set the operation prompt mode of
the file system

file prompt { alert | quiet }

Optional
The default is alert.

Example for File Operations

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

dir

Directory of cfa0:/

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

19540 KB total (2521 KB free)

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

cd test

mkdir mytest

%Created dir cfa0:/test/mytest.

# Display the current working directory.

pwd

cfa0:/test

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

dir

Directory of cfa0:/test/

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

2540 KB total (2519 KB free)

# Return to the upper directory.

cd ..

# Display the current working directory.

pwd

cfa0: