Forrest logo
back to the avahi-browse tool

avahi-browse:tldr:1a205

avahi-browse: 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
try on your machine

The command avahi-browse --all --resolve --ignore-local is used to discover services available on the local network using the Avahi network service discovery protocol.

Let's break down the different options used in the command:

  • avahi-browse: This is the command itself. It is used to invoke the avahi-browse utility.

  • --all: This option tells Avahi to browse for all services on the network, rather than just a specific type of service. It will list all the services available.

  • --resolve: This option instructs Avahi to resolve the host names and IP addresses of the discovered services. It allows you to see the actual network addresses of the services, making them easier to connect to.

  • --ignore-local: This option tells Avahi to ignore services that are running on the local machine. It excludes services that are available locally, as they are typically already known and not of interest when discovering services on the network.

By combining these options, the command will browse and list all services on the network, resolve their network addresses, and exclude the locally available services from the results.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the avahi-browse tool