Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

On Ubuntu 10.10 server when I type htop the result is simply:

bash: htop: command not found

I know that there is some software which I can install that tells me what I have to install that provides the (in this example htop) command.

What do I have to install?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

command-not-found Install command-not-found is what you are searching for :)

share|improve this answer
Thanks, this is it! :) sudo apt-get install command-not-found – Hristo Hristov Apr 7 '11 at 11:54
It won't take effect until you log out and log back in. It won't automatically take effect in existing shell sessions. – Jerry Seutter Mar 28 '13 at 15:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.