commands.sh

avahi-browse

linux

Display services and hosts exposed on the local network via mDNS/DNS-SD. Avahi is compatible with Bonjour (Zeroconf) found in Apple devices.

More info →

Options (6)

-a, --allboolean

List services available on the local network along with their addresses and ports, ignoring ones on the local machine

Example: avahi-browse {{[-a|--all]}} {{[-r|--resolve]}} {{[-l|--ignore-local]}}
-r, --resolveboolean

List services available on the local network along with their addresses and ports, ignoring ones on the local machine

Example: avahi-browse {{[-a|--all]}} {{[-r|--resolve]}} {{[-l|--ignore-local]}}
-l, --ignore-localboolean

List services available on the local network along with their addresses and ports, ignoring ones on the local machine

Example: avahi-browse {{[-a|--all]}} {{[-r|--resolve]}} {{[-l|--ignore-local]}}
-t, --terminateboolean

Quickly list services in the local network in SSV format for scripts

Example: avahi-browse {{[-a|--all]}} {{[-t|--terminate]}} {{[-p|--parsable]}}
-p, --parsableboolean

Quickly list services in the local network in SSV format for scripts

Example: avahi-browse {{[-a|--all]}} {{[-t|--terminate]}} {{[-p|--parsable]}}
-D, --browse-domainsboolean

List domains in the neighbourhood

Example: avahi-browse {{[-D|--browse-domains]}}

Examples (4)

List services available on the local network along with their addresses and ports, ignoring ones on the local machine

avahi-browse [-a|--all] [-r|--resolve] [-l|--ignore-local]

Quickly list services in the local network in SSV format for scripts

avahi-browse [-a|--all] [-t|--terminate] [-p|--parsable]

List domains in the neighbourhood

avahi-browse [-D|--browse-domains]

Limit the search to a particular domain

avahi-browse [-a|--all] --domain=domain
made by @shridhargupta | data from tldr-pages