Auto directory spelling corrections

To turn this feature on just use:

shopt -s cdspell

Now mispell a directory in the cd command.

cd /usk/local

still gets you to /usr/local. What other options can you set? The following will list all the options:

shopt -p

 







You must be login first or sign-up for an account to post comments.

Maybe you should look at these also: