mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-04 02:43:45 +00:00
27 lines
815 B
Plaintext
27 lines
815 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# avahi-browse
|
|
|
|
> Display services and hosts exposed on the local network via mDNS/DNS-SD.
|
|
> Avahi is compatible with Bonjour (Zeroconf) found in Apple devices.
|
|
> More information: <https://www.avahi.org/>.
|
|
|
|
- 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}}`
|