O'Reilly logo

Mac OS X Tiger in a Nutshell by Jason McIntosh, Chuck Toporek, Chris Stone, Andy Lester

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

nireport

Synopsis

nireport [-T timeout] [-t] domain directory [property
                     ...]

Lists all NetInfo groups.

Options

-T timeout

Specify a timeout in seconds.

-t

Treat the domain as a tagged domain, which includes a machine name and a tagged NetInfo database.

domain

Specify a NetInfo domain.

directory

Denotes a path to a NetInfo directory.

property ...

Specify one or more NetInfo properties; e.g., each user listed in the /users directory has name, passwd, uid, and gid properties (as well as a few other properties). Every directory has a name property that corresponds to the directory name. For example, the /machines directory's name property is machines.

You can use nireport to list any portion of the NetInfo directory. For example, to list the top-level directory, specify the local domain, the / directory, and the name property, as in nireport . / name.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required