does linux have a "did you mean......" component for the command line like Google?
Adam McGreggor
lists at amyl.org.uk
Fri Nov 16 19:01:46 UTC 2007
On Fri, Nov 16, 2007 at 06:58:13AM +0000, Caleb Marcus wrote:
> That sounds to me like a bad idea... it would probably lead to more
> errors. Anyway, you can always type part of a command and hit tab to
> complete it.
Or if it's one you frequently mis-type, (mine's "ifconifg"), chuck in a
.bash_aliases file, along the lines of:
alias ifconifg='ifconfig'
alias machine2='ssh foo at machine2.example.org'
alias whatever='/path/to/app'
and make sure your .bashrc allows/includes the alias file.
> On Fri, 2007-11-16 at 01:34 -0500, John Toliver wrote:
>
> > 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.
More information about the ubuntu-users
mailing list