Command Not Found

If you type a command on Linux that doesn't exist, normally you get this:-

alan@bishop:~$ mplayer
-bash: mplayer: command not found

With the package command-not-found installed (which is by default installed as of Ubuntu 7.04 [Feisty] [due out in April]) you get something like this:-

alan@tigger:~$ mplayer
The program 'mplayer' can be found in the following packages:
* mplayer-nogui
* mplayer
Try: sudo apt-get install
Make sure you have the 'multiverse' component enabled
-bash: mplayer: command not found

How cool is that!?

More Here.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

very nice of ubuntu

what about ms "bad command or file name" is that neat or what?

re: Command not found

But will it tell me where I left my car keys?

Do people (even Ubuntu users) type in commands for app's that aren't installed all that often to make this useful?

Of course, heathen unbeliever!

alan@tigger:~$ carkeys
The object 'carkeys' can be found in the following places:
* under couch cushion
* in ex-wife's wallet
Try: sudo apt-get install tracker
Make sure you have the 'contact lenses' object enabled
-bash: carkeys: command not found

(Resistance is futile. You will be Ubuntilated.)

re: heathen unbeliever

"Ubuntilated" - and my english lexicon grows by one today! Cool

Linux commands no longer on all terminals

Not strange, because of ash, bash versions and what not.

Wish you could have a list of commands that is supported by your terminal? Some one has to make a table, instead of giving you all the negative answers.

Many different operating systems use /? to list all the commands and their options.