getent

Get entries from Name Service Switch libraries. More information: <https://manned.org/getent>.

Debian Debian
RUN apt-get update && \ apt-get install -y libc-bin
Ubuntu
RUN apt-get update && \ apt-get install -y libc-bin
Arch Arch Linux
RUN pacman -S --noconfirm glibc
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y libc-bin
CentOS
RUN yum install -y glibc-common
Fedora
RUN dnf install -y glibc-common
Raspbian
RUN apt-get update && \ apt-get install -y libc-bin
click the source code to copy install getent on any operating system with command-not-found.com