Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

cat command not found even tough package is installed

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?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>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
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading