mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 12:42:31 +00:00
27 lines
743 B
Plaintext
27 lines
743 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 --all --resolve --ignore-local`
|
|
|
|
- Quickly list services in the local network in SSV format for scripts:
|
|
|
|
`avahi-browse --all --terminate --parsable`
|
|
|
|
- List domains in the neighbourhood:
|
|
|
|
`avahi-browse --browse-domains`
|
|
|
|
- Limit the search to a particular domain:
|
|
|
|
`avahi-browse --all --domain={{domain}}`
|