Forrest logo
back to the avahi-browse tool

avahi-browse:tldr:4a480

avahi-browse: Quickly list services in the local network in SSV format for scripts.
$ avahi-browse --all --terminate --parsable
try on your machine

The command "avahi-browse --all --terminate --parsable" is used to browse for network services and resources using the Avahi service discovery protocol. Here's what each parameter means:

  • "avahi-browse": This is the command that initiates the browsing process.
  • "--all": This parameter instructs Avahi to browse for all available services and resources on the network. Without this parameter, Avahi may only browse for a specific type of service.
  • "--terminate": This parameter tells Avahi to terminate the browsing process once the result has been printed. By default, Avahi will keep browsing until interrupted.
  • "--parsable": This parameter formats the output in a machine-readable format. It means the output will be more structured and suitable for scripts or further processing.

By combining these parameters, the command will browse for all network services and resources, terminate the browsing process after printing the result, and format the output in a machine-readable format.

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