Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

On my tty terminals (1-6), I lose text when I move away from it and back (i.e. pressing ShiftPg Up doesn't reveal any scrolled-off text). How can I recover this text?

share|improve this question

1 Answer 1

up vote 6 down vote accepted

As far as I know, it's just lost. The Linux console only stores history until you change to a different console. If you want to keep more history, use Screen.

share|improve this answer
or tmux.sf.net –  akira Jan 31 '11 at 21:01
@akira: or Emacs… –  Gilles Jan 31 '11 at 21:16
Go not to the elves^H^H^H Internet for counsel, for they will say both yes and no...and maybe and you should use Emacs... ;-) –  mazianni Feb 10 '11 at 16:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.