Using and managing the Terminal history in OS X
There are times when using the Terminal that you might enter a command or two and then want to either run it again or review a whole sequence of commands that have been entered. This can easily be done by pressing the up arrow, scrolling through the previous commands, and then pressing Enter to execute the selected one again. In addition to this approach, the Terminal supports a number of other options for revealing and rerunning entered commands.
The Terminal is able to do this because it stores a small history of the commands you have run both in its … Read more