Download Fusion Shell User Manual
Transcript
• <profilename>: Any string, enclose arguments with spaces using double quotes. Examples: • setprofile Default 7.3.13 Unittype.delprofile Syntax: delprofile <profilename> Comment: Delete a profile. Not allowed if there are units within this profile or if groups are connected to this profile. Arguments: • -u: Will use the context available from another command (piping) or input-file. The context will be changed before the command is run. Arguments: • <profilename>: A valid profile within this unittype. Examples: • delprofile Default 7.3.14 Unittype.listgroups Syntax: listgroups [<group-name-pattern>] [PARENT-FIRST|PARENT-LAST] Comment: List groups within this unittype. Arguments: • -a: Will list all available information about this object to the output. This is useful for export of data. • -u: Will use the context available from another command (piping) or input-file. The context will be changed before the command is run. • -c: Will list the current context to the output. This is useful when using this output as input to another command using the -u option. • -o: Will order the listing of the output. Syntax of the option argument is -o(<columnnumber><a|n><a|d>)+ An example might be -o3aa4nd, which is to be read like this: Sort the (3)rd column (a)lphabetically in an (a)scending order, next sort on the (4)th column (n)umericallay in an (d)escending order. Parts of the argument may be ignored if incorrectly specified. Arguments: • [[!]<group-name-pattern>]: Optional. Any string which will be used to match the list of group-names. The string will be interpreted as a regular expression which is a very powerful matching language. If you want to know how to take full advantage of regular expressions you need to consult internet resources. Special feature: Prefix with '!' to negate the search. • [PARENT-FIRST|PARENT-LAST]: Defines the ordering of the list. This is usually not interesting - mostly used for -export/import options of this shell Examples: • listgroups • listgroups "All units" 58