Bash Options
Bash can save you a bit of typing when you are working with directories - instead of typing “cd” followed by the directory name, you can set the “autocd” option with shopt -s autocd
and you can type only the directory name to enter it. Run shopt with the -u
flag to unset.
Bash can also be forgiving when it comes to the spellings of the directory names. Enable the cdspell to auto-correct the directory name in “cd” commands.