Name

atlookup

Synopsis

atlookup [options] [scope]

Lists network-visible entities (NVEs) on the AppleTalk network. If scope isn’t specified, atlookup lists all NVEs in the current zone.

Options

-a

Show only NVE names and types in the list; don’t include network numbers.

-C

When used with -z, display zones in several columns instead of one.

-d

Print network numbers in decimal format instead of the default hexadecimal.

-r n

Retry unsuccessful lookups n times. The default is 8.

-s n

Retry unsuccessful lookups n seconds apart. The default is one second.

-x

Convert nonprintable characters in lists to their hexadecimal equivalents, prefaced with /.

-z

List all zones on the network. Used alone or with -C.

Scope

Specify the scope of the lookup by NVE name, type, and zone using this syntax:

[name[:type[@zone]]]

You can use the = wildcard anywhere in name or type to match zero or more characters, except with older AppleTalk Phase 1 nodes, which ignore such lookups. The = wildcard works with all AppleTalk nodes, however, when used by itself to match all names or types. Lookups are not case-sensitive.

Examples

Display all NVEs of type darwin in the current zone:

$ atlookup =:darwin

Display all NVEs on printers named with sales in the current zone (not AppleTalk Phase 1 compliant):

$ atlookup sales=:=

Get Mac OS X Tiger in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.