And that is usually a very good thing.
Today, for the first time that I can recall, my computer did what I wanted it to to, not what I told it to do.
~$ cd ~/tmmp /Users/lex/tmp $
Enable Typo-Fixing Magic in your ShellPut this handy command in your ~/.bashrc file:
shopt -s cdspell
Other Handy Bash Shell FeaturesThe OSX terminal is loaded with handy features
- Tab Completion
- Command History
- Directory Switching
- Short Cut Keys
Tab CompletionType the beginning of file or directory name, hit TAB and the rest of the name will be typed for you.
Command HistoryUp arrow to see previous command(s).
Down arrow to go back down the list of commands.
cd -to switch back to previous directory.
Short Cut Keys
|CTL+A||Move cursor to beginning of line|
|CTL+E||Move cursor to end of line|
|ESC+F||Move cursor to beginning of next word|
|ESC+B||Move cursor to beginning of current word|
|ESC+Del||Erase previous word|