Use shopt -s cdspell to correct the typos in the cd command automatically as shown below. $ cd /var/vmall -bash: cd: /var/vmall: No such file or directory $ shopt -s cdspell $ cd /var/vmall $ pwd /var/vmail Here actually i mistyped 'vmail' as 'vmall'. Enjoy!
Get tips on any operations or functions done on or by the linux operating systems, debian, ubuntu, fedora etc..