Bash Group Command Not Found

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

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

James H. Sterling
Author

James H. Sterling

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.