Terminal command history keystroke

Oct 21, '01 09:30:57PM

Contributed by: Durandal

Nifty little feature of the Terminal. If you press the up and down keys, it'll cycle through a history of the commands that you've entered. Handy for that annoying directory that you misspelled trying to switch. Just press the up key and make the necessary changes.

[Editor's note: If you're new to the Terminal and UNIX in general, I highly recommend a couple of things. First, read Neal Parikh's Terminal Guide, linked in the top right box off the macosxhints' home page. Second, download ManThor, a Cocoa application for reading UNIX manual pages ("man pages"). Install and launch ManThor (which features formatting, printing, and searching - all free!) and then type "tcsh" in the search box. The man pages for tcsh are very very thorough, and explain about the history buffer as well as a number of other cool features. Well worth the reading time!]

Comments (8)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20011021213057990