Quick terminal tip!
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?
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?
Subscribe to comments with RSS or TrackBack to 'Quick terminal tip!'.
| Zeth on New Theme | |
| JDOG on Quick Update on No Title Bar w… | |
| JDOG on Quick Update on No Title Bar w… | |
| Christian on System Events of the day | |
| ITman on Comparison: Krusader vs. Gnome… |
|
Blog at WordPress.com. Theme: The Journalist by Lucian Marin
Wow, I wish I would have known about this a long time ago. Thanks! Earned a permanent spot in my .bashrc.
Thanks for the tip
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?
Oh and this tip is great
[...] Quick Terminal tip! - A command to add to your .bashrc that autocorrects commands at the terminal. [...]