In ubuntu (and likely elsewhere), if I misspell a command, the shell suggests similarly spelled commands:
askewchan@foppl:~$ exi No command 'exi' found, did you mean: Command 'ex' from package 'vim' (main) Command 'exif' from package 'exif' (universe) Command 'exim' from package 'exim4-daemon-heavy' (main) Command 'exim' from package 'exim4-daemon-light' (main) Command 'esi' from package 'atm-tools' (universe) Command 'kexi' from package 'kexi' (main) Command 'exp' from package 'alliance' (universe) Command 'axi' from package 'afnix' (universe) exi: command not found
(which didn't work in this case, as I had intended to type
exit). Apparently this comes from
apt-get install command-not-found, but is there something like this for OS X?
Is there anything similar that would work on OS X or bash in general?