F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices System Management and Maintenance Command Reference-6PW100
42
mkdir
Use mkdir to create a folder under a specified directory on the storage medium.
Syntax
mkdir directory
Views
User view
Default command level
3: Manage level
Parameters
directory: Name of a folder.
Usage guidelines
The name of the folder to be created must be unique in the specified directory. Otherwise, you will fail
to create the folder in the directory.
To use this command to create a folder, the specified directory must exist. For example, to create folder
cfa0:/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 cfa0:/test.
# Create folder test/subtest in the current directory.
<Sysname> mkdir test/subtest
....
%Created dir cfa0:/test/subtest.
more
Use more to display the contents of a file.
Syntax
more file-url [ | { begin | exclude | include } regular-expression ]
Views
User view
Default command level
3: Manage level
Parameters
file-url: File name.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see the Getting Started Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.