File system management examples – H3C Technologies H3C SecPath F1000-E User Manual

Page 40

Advertising
background image

29

File system management examples

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

<Sysname> dir

Directory of flash0:/

0 -rw- 25535 Feb 17 2011 14:20:02 system.xml

1 -rw- 1780 Feb 17 2011 14:20:04 startup.cfg

2 -rw- 14617560 Feb 15 2011 15:23:29 f1000a_b98.bin

3 -rw- 14617560 Feb 15 2011 12:30:39 f1000a.bin

4 drw- - Jan 06 2011 14:46:09 domain1

5 -rw- 891 Jan 06 2011 14:46:18 default_ca.cer

6 -rw- 1411 Jan 06 2011 14:46:18 default_local.cer

7 drw- - Jan 06 2011 14:46:07 seclog

1048192 KB total (1018012 KB free)

# Create new folder mytest in the test directory.

<Sysname> cd test

<Sysname> mkdir mytest

%Created dir flash0:/test/mytest.

# Display the current working directory.

<Sysname> pwd

flash0:/test

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

<Sysname> dir

Directory of flash0:/test/

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

2540 KB total (2519 KB free)

# Return to the upper directory.

<Sysname> cd ..

# Display the current working directory.

<Sysname> pwd

flash0:

Advertising