does linux have a "did you mean......" component for the command line like Google?

Lea Gris lea.gris at noiraude.net
Fri Nov 16 12:41:39 UTC 2007


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)*]]



-- 
     Léa Gris - http://www.noiraude.net/
()   Campagne du ruban texte brut contre les courriels en HTML,
/\   contre les pièces jointes dans un format propriétaire.
     Contre les DRMs appelez le : 09f911029d74e35bd84156c5635688c0

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20071116/9c2e1b37/attachment.pgp>


More information about the ubuntu-users mailing list