newgrp

Switch primary group membership. More information: <https://manned.org/newgrp>.

Debian Debian
RUN apt-get update && \ apt-get install -y login
Ubuntu
RUN apt-get update && \ apt-get install -y login
Alpine
RUN apk add util-linux
Arch Arch Linux
RUN pacman -S --noconfirm util-linux
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y login
Fedora
RUN dnf install -y shadow-utils-2
Raspbian
RUN apt-get update && \ apt-get install -y login
click the source code to copy install newgrp on any operating system with command-not-found.com