Skip to content

Help us create more tutorials! Make a donation using the Donate button or become a member using the button below to hide this banner and track your progress.

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 Course > Terminal Tips