Skip to content

Try our new Crash Courses!

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

Reuse previous commands in your terminal

Summary

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.).

Exercises

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

References

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

Back to: Terminal Reference > Terminal Tips