One of the features of Ubuntu that I really like is the one that suggests packages to install if you try to run a program that isn't installed, like this:
$ nmap The program 'nmap' is currently not installed. You can install it by typing: sudo apt-get install nmap
Is that a fancy feature of Bash? An extra daemon that hides in the background? How does it do that?