Celeb Glow
updates | March 24, 2026

Bash Group command not found

I am new to Ubuntu and I am facing a problem. Whenever I launch a new terminal instance I get this error:

bash: groups: command not found

OUTPUT for command- bash -i -x < /dev/null

10

1 Answer

For some reason the groups program was deleted on your system as indicated by the output of ls /usr/bin/groups. The best way to restore it is to reinstall the corresponding package.

To find the package:

$ dpkg-query -S /usr/bin/groups
coreutils: /usr/bin/groups

To restore the corrupted package:

sudo apt install --reinstall coreutils
0

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy