I’ve been running Ubuntu 20.04.3 in a VM for a few weeks without any major problems but when i tried to use cat today it only said:
Command 'cat' not found, but can be installed with:
sudo apt install coreutils
I have coreutils installed and the other commands like tree and touch work. What am i doing wrong?
>Solution :
I cannot say what happened, maybe you removed the binary by accident.
You can reinstall the package using apt:
sudo apt install --reinstall coreutils