The following list describes the commands available and their function:
bind query
To bind to the service that owns the resource described by query. If a query is not specified, send the queries to the RAP Resource Directory, and update, create, and delete commands to the service that owns the resource being changed. On failure, the previous service continues to be used.
create attribute-list
To create a resource with the given attributes.
delete query
To delete the resources that match the current query. If a query is specified, it becomes the current query.
edit query
To edit the resources that match the current query. If a query is specified, it becomes the current query. When the editor exits, nsradmin applies update, delete, and create operations based on the changes to the resources. Do not edit the resource identifier attribute, but do write out the file before you exit the editor.
help command-name
? command-name
To print a message describing a command. If no command name is given, a synopsis of all the commands is printed.
print query
To print the resources that match the current query. If a query is specified, it becomes the current query. If the current show list is not empty, only the attributes named in the show list are displayed.
server server-name
To bind to the given Backup server name. If no server is specified, the RAP location service is used. On failure, the previous server continues to be used.
show name
To add names to the show list if a name list (really an attribute list with no values) is specified. Only these attributes are displayed in subsequent print commands. If no name list is given the show list is cleared, resulting in all attributes being shown.
types
To print a list of all known types.
update attributes
To update the resources given by the current query to match attributes.
quit
To exit the nsradmin program.
option dynamic:choice;hidden:choice;resource id:choice
To enable some options to change the display of resources. With no arguments it displays the current options; with a list of options it turns the specified ones on. The option command sets the given display options. Options are separated by semicolons, and you can give them an explicit value of either on or off.
The valid options are:
dynamic, which causes nsradmin to display all dynamic attributes, even the normally hidden ones.
hidden, which causes nsradmin to display all attributes, even the normally hidden ones.
resource id, which causes nsradmin to display the resource identifier of each resource. The resource ID is a number that Backup uses internally to provide sequencing and uniqueness.
unset dynamic;hidden;resource id
To turn off the specified option.
. query
To set the current query, if a query is specified, without printing the results of the query. Otherwise, the current query, show list, server binding, and options are displayed.