Ubuntu / Linux news and application reviews.

The command-not-found handle is not something that stands out, but is something very useful for new users. You must know it, it's the output of when trying to run a command which is part of an application not installed on your system:
$aircrack-ng
The program 'aircrack-ng' is currently not installed.  You can install it by typing:
apt-get install aircrack-ng
bash: aircrack-ng: command not found

This command-not-found handle was enhanced on Ubuntu 9.10: Karmic Koala:

1. Now, when you run a command / application not installed on your system, it tells you in which repository you can find it:
$aircrack-ng
The program 'aircrack-ng' is currently not installed. You can install it by typing:
sudo apt-get install aircrack-ng
You will have to enable the component called 'universe'
bash: aircrack-ng: command not found

This new 'feature' could be even more helpful for new Ubuntu users - it could also tell the user how to enable the "universe" component and well, what a "component" is, but none the less, this is a great step forward and for medium users such as myself, it's a very useful addition.

2. The command-not-found handle now also handles typos:
$gdit
No command 'gdit' found, did you mean:
Command 'edit' from package 'mime-support' (main)
Command 'gdis' from package 'gdis' (universe)
Command 'git' from package 'git-core' (main)
Command 'gedit' from package 'gedit' (main)
bash: gdit: command not found

These 2 command-not-found handle tweaks are just minor improvements, but little touches like these really help new users and also show that Ubuntu is going to the right direction by helping users feel comfortable while exploring the command line.

[via workswithu.com]