Microwave Biscuit

Quick terminal tip!

Posted in Linux, ubuntu by microwavebiscuit on November 12th, 2007

In your bashrc file ( /home/username/.bashrc ) put in:


shopt -s cdspell

This will do auto typo correction in the terminal. So, for instance, if I type in:


cd /hom/me/

It will automagically go to /home/me.

Cool, no?

Tagged with:

5 Responses to 'Quick terminal tip!'

Subscribe to comments with RSS or TrackBack to 'Quick terminal tip!'.

  1. Jake said, on November 12th, 2007 at 3:51 pm

    Wow, I wish I would have known about this a long time ago. Thanks! Earned a permanent spot in my .bashrc.

  2. Scott said, on November 12th, 2007 at 6:45 pm

    Thanks for the tip

  3. dthomasdigital said, on November 12th, 2007 at 6:53 pm

    Have you noticed that in planet Ubuntu users, your headlines don’t show up, just the name of your blog…the exact same thing is happening to my blog. I’ve talked to wordpress tech support but they were not much help….You have any ideas?

  4. dthomasdigital said, on November 12th, 2007 at 6:54 pm

    Oh and this tip is great

  5. [...] Quick Terminal tip! - A command to add to your .bashrc that autocorrects commands at the terminal. [...]

Leave a Reply