![Forrest logo](/images/logo.png)
avahi-browse:tldr:1a205
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.