Neat little Linux tool

Uncategorized 12 September 2006 | 0 Comments

Command Not Found is a great little utility for Linux. If you’ve ever tried to follow a set of instructions only to find that you don’t have some of the CLI programs needed, this will come to your rescue.

Install command-not-found then add this to your ~/.bashrc:

function command_not_found_handle {
        /usr/bin/command-not-found $1
        return $?
}

And you’re all done:

~$ ssed
The program 'ssed' is currently not installed, you can install it by typing:
sudo apt-get install ssed

Tagged in , , ,

Leave a Reply