R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101

45
To use this command to create a folder, the specified directory must exist. For example, to create folder
flash0:/test/mytest, the test folder must exist. Otherwise, you will fail to create the mytest folder.
Examples
# Create a folder named test in the current directory.
<Sysname> mkdir test
....
%Created dir flash0:/test
# Create folder test/subtest in the current directory.
<Sysname> mkdir test/subtest
....
%Created dir flash0:/test/subtest
more
Syntax
more file-url [ | { begin | exclude | include } regular-expression ]
View
User view
Default level
3: Manage level
Parameters
file-url: File name.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Getting Started Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use more to display the contents of the specified file. It indicates that there are more lines that the screen
can display.
Pressing Enter displays the next line.
Pressing Space displays the next screen.
Pressing Ctrl+C or any other key exits the display.
This command is valid only for text files.
Examples
# Display the contents of file test.txt.
<Sysname> more test.txt
Welcome to HP.
# Display the contents of file testcfg.cfg.