This is a very unique feature made available by Linux.
To turn this feature on “ON” just use:
shopt -s cdspell
Now mispell a directory in the cd command.
it will still gets you to /usr/local. What other options can you set?
The following will list all the options:
Check all the options and enable according to your choice.