Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a mac, and for improved readibility, sometimes I clear the terminal. I'd like to know if there's a shorcut to make the last line become the first of the terminal without clearing anything in the terminal.

Much appreciated.

share|improve this question

migrated from Mar 30 '12 at 1:40

This question came from our site for professional and enthusiast programmers.

up vote 0 down vote accepted

You are still able to scroll up after clear.

share|improve this answer

You can also simply press Ctrl + L

share|improve this answer

Why dont you try this?

clear;tail -1 file
share|improve this answer

You must log in to answer this question.