Download Fusion Shell User Manual

Transcript
6.2
Contexts
A very basic idea in Fusion Shell (and Web) is the idea of contexts. A context will tell the
shell which Unit Type, Profile, Unit, Unit Parameter, Group or Job is currently being
worked on. That way we do not have to specify all this information for each command
that is invoked. The context are presented in the prompt like this:
/ut:Testperf/pr:Default/>
This prompt informs the user that Unit Type is “Testperf” and Profile is “Default”. All
commands entered in this context will now be invoked on this Unit Type and Profile.
Since the shell at all times know the context the user can at any time enter “help” and
expect a list of commands available in that specific context.
Even though the context in this example specifies both Unit Type and Profile, it makes
most sense to think of this as a Profile context, since Profile is more “specific” than a Unit
Type.
To switch between commands see command reference for "Generic.cc" or type "help cc".
20