Oracle ZFS Storage Appliance Administration Manual page 38

Hide thumbs Also See for ZFS Storage Appliance:
Table of Contents

Advertisement

Command Line Interface (CLI)
This returns to the previous context, which is not necessarily the parent context, as follows:
dory:> configuration users select bmc
dory:configuration users bmc> done
dory:>
The done command can be used multiple times to backtrack to earlier contexts:
dory:> configuration
dory:configuration> users
dory:configuration users> select bmc
dory:configuration users bmc> done
dory:configuration users> done
dory:configuration> done
dory:>
To navigate to a parent context, use the cd command. Inspired by the classic UNIX command,
cd takes an argument of ".." to denote moving to the parent context:
dory:> configuration users select bmc
dory:configuration users bmc> cd ..
dory:configuration users>
And as with the UNIX command, "cd /" moves to the root context:
dory:> configuration
dory:configuration> users
dory:configuration users> select bmc
dory:configuration users bmc> cd /
dory:>
And as with its UNIX analogue, "cd ../.." may be used to navigate to the grandparent
context:
dory:> configuration
dory:configuration> users
dory:configuration users> select bmc
dory:configuration users bmc> cd ../..
dory:configuration>
Context names will tab complete, be they static contexts (via normal command completion) or
dynamic contexts (via command completion of the select command). Following is an example
of selecting the user named bmc from the root context with just fifteen keystrokes, instead of the
thirty-one that would be required without tab completion:
dory:> configtab
dory:> configuration utab
dory:> configuration users setab
dory:> configuration users select tab
38
Oracle ZFS Storage Appliance Administration Guide, Release OS8.6.x • September 2016

Advertisement

Table of Contents
loading

Table of Contents