Spell checking in bash is a cool feature which can be added by adding just one line in your bashrc file.
shopt -s cdspell
That’s all 🙂
Add that to your ~/.bashrc file.
If you want to enable this for all the users, then append this to your /etc/bash.bashrc (in Ubuntu) or /etc/bashrc (in Fedora). Of course, you need the root privilege to edit the files in /etc.
Now try these
Cool right 😉