Service Registry 3 2005Q4 Administration Guide

ls

Lists the objects in the current RegistryPackage.

Synopsis

ls [ {pattern | URN}…]

Description

With no arguments, the ls command lists the objects in the current RegistryPackage. When a pattern or URN is provided, the command lists the objects in the current RegistryPackage whose names (in the current locale) or unique identifiers match pattern or URN.

Operands

pattern

A pattern comprising literal characters and the special characters asterisk (*) (representing zero or more characters) and question mark (?) (representing one and only one character). You can specify more than one pattern.

URN

A URN starting with urn:, for example, urn:uuid:4a6741e7-4be1-4cfb-960a-e5520356c4fd. You can specify more than one URN. The URN must be the unique identifier of the object, not the logical identifier.

Examples

The following command lists all the objects in the current RegistryPackage.


admin> ls

The following command lists all the objects whose name matches the pattern urn:bird:poultry:chicken or whose ID is urn:bird:poultry:chicken.


admin> ls urn:bird:poultry:chicken

The following command lists all the objects whose name matches the pattern *bird*. (It would also list the objects whose ID is *bird*, if *bird* were a valid ID.)


admin> ls *bird*

The following command lists all the objects whose name matches the pattern *bird* or whose name matches the pattern urn:bird:poultry:chicken or whose ID is urn:bird:poultry:chicken.


admin> ls *bird* urn:bird:poultry:chicken