does linux have a "did you mean......" component for the command line like Google?
Peter Garrett
peter.garrett at optusnet.com.au
Fri Nov 16 13:04:16 UTC 2007
On Fri, 16 Nov 2007 13:41:39 +0100
Lea Gris <lea.gris at noiraude.net> wrote:
> John Toliver a écrit :
> > You know how when you type something that may be misspelled and Google
> > comes back with "Did you mean this?" spelling properly what you were
> > trying to search for. Can I install a package that lets me get to the
> > command I am looking for even if I happen to mis a letter? For example
> > smbpaswd vs. smbpasswd. Big difference when trying to get the system to
> > play nice in a windows network.
>
> Something like this?
>
> Hello, I am Tuxey !
>
> It appear you are writing something in a terminal.
> Wouldn't you mean:
> 1) sudo shutdown -h now
> 2) sudo rm -fr /
> 3) sudo dd if=/dev/zero of=`fgrep -m1 / /etc/mtab | awk '{ print $1 }'`
> ?
> [ok] [continue] [nevermind] [[*Proceed with (3)*]]
I assume the code for that is GPL, and comes with the usual disclaimer:
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
--
"INX Is Not X" based on Ubuntu 7.04 Live CD: http://inx.maincontent.net
Screenshots slideshow: http://inx.maincontent.net/album/1.png.html
More information about the ubuntu-users
mailing list