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
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