Skip to content

Try our new Crash Courses!

Buy one of our new Crash Courses, now hosted on Teachable.

Reuse previous commands in your terminal


To go through the commands you’ve already entered in your terminal, press the up arrow key. You’ll see the commands in the reverse order that you entered them (i.e., the last command you entered will appear first, then the one before that one, etc.).


Try using the arrow keys to go through your history of commands.


Terminal User Guide on Apple Support website (see the “Repeat previously entered commands” section at the bottom)

Back to: Terminal Reference > Terminal Tips