To auto correct directory names on cd :- shopt -s cdspell
To use "directory name" as "cd directory_name" :- shopt -s autocd
To unset shopt commands :- shopt -u cdspell and shopt -u autocd
To make shopt changes permanent :- add shopt -s cdspell and shopt -s autocd in ~/.bashrc script
To show all set parameters of shopt command:-
Important options:-
shopt -s cdspell (-s set)
shopt -u cdspell (-u unset)
and shopt -p (print all option)

