• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

avahi-browse: command not found

by admin

avahi-browse is a command-line tool in Linux that is used to browse the network for available services that are advertised using the Avahi service discovery protocol. Avahi is a free, open-source implementation of the Zeroconf protocol, which allows devices on a local network to automatically discover and communicate with each other without the need for a central server or configuration.

avahi-browse can be used to discover services on the local network, such as printers, web servers, or file servers, and display information about them, such as their type, name, and IP address. It can also be used to monitor the network for changes in the availability of services, and to receive notifications when services are added or removed.

You can use avahi-browse to discover services on the local network by running the avahi-browse command with the appropriate options. For example, to discover all available services on the local network, you could use the following command:

# avahi-browse --all

If you encounter the below error while running the avahi-browser command:

avahi-browse: command not found

you may try installing the below package as per your choice of distribution:

Distribution Command
Debian apt-get install avahi-utils
Ubuntu apt-get install avahi-utils
Alpine apk add avahi
Arch Linux pacman -S avahi
Kali Linux apt-get install avahi-utils
CentOS yum install avahi-tools
Fedora dnf install avahi-tools
Raspbian apt-get install avahi-utils

For more information on using avahi-browse, you can consult the avahi-browse documentation or use the avahi-browse –help command to view a list of available options and usage examples.

avahi-browse Command Examples

1. List all services available on the local network along with their addresses and ports while ignoring local ones:

# avahi-browse --all --resolve --ignore-local

2. List all domains:

# avahi-browse --browse-domains

3. Limit the search to a particular domain:

# avahi-browse --all --domain=domain

Filed Under: Linux

Some more articles you might also be interested in …

  1. How to use execl (example included)
  2. How to disable “Alt+Ctrl+Del” causing system reboot in CentOS/RHEL 7
  3. CentOS / RHEL : Resize (extend) non-root EXT3/4 filesystem on LVM device
  4. hostnamectl: command not found
  5. Shell Script to Find Network Interface Link Status and Speed (CentOS/RHEL)
  6. How to install and configure MariaDB in CentOS / RHEL 7
  7. xz Command Examples in Linux
  8. CentOS / RHEL 7 : How to configure kdump
  9. ceph: command not found
  10. RHEL/CentOS 6,7 : How to caculate the size of hugepage used by a specific process/application

You May Also Like

Primary Sidebar

Recent Posts

  • protonvpn-cli Command Examples in Linux
  • protonvpn-cli connect Command Examples
  • procs Command Examples in Linux
  • prlimit: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright