You can concatenate commands together on the same line by separating the commands with semi-colons, (;).
Quoting
The quoting rules in the Data ONTAP CLI are
unusual. There is no escape character like the
backslash; however there are the following special
characters:
& (ampersand) - unicode indicator # (pound sign) - comment indicator ; (semicolon) - command separator ' (single quote) - parameter wrapper " (double quote) - parameter wrapper (space) - parameter separator (tab) - parameter separator
qtree create /vol/test_vol/'qtree 1'
The qtree qtree 1 is created.
qtree create /vol/test_vol/'qtree#1'
The qtree qtree#1 is created.
qtree create /vol/test_vol/"qtree'1"
The qtree qtree'1 is created.
qtree create /vol/test_vol/'hello"'"'"1
The qtree hello"'1 is created.
cifs shares add jふxp /vol/test_vol/home
Creates a share with a Japanese character; whereas
cifs shares add "jふxp" /vol/test_vol/home
Creates the share jふxp.
sysconfig; version
Executes the sysconfig and version commands.
Copyright © 1994-2008 NetApp, Inc. Legal Information