Linux – See all output from commands performed inside screen

bashconsolelinuxminecraftmore

I am using screen (http://www.gnu.org/software/screen/manual/screen.html) to access my minecraft console. I created a server in /etc/init.d, and have minecraft running in the background.

Then, to access the minecraft console, I just type # screen -r in bash.

I can now do commands in the screen shell. The problem is if I do some command which exports a bunch of text, it exceeds the size of the screen and pushes the begging output off the page. And I cannot seem to scroll up and see it.

How can I scroll back and view all the output? How can I pause the output (maybe something like more or less)?

Best Answer

You can try:

  • Ctr-a [ and move up and down with the arrow keys, esc for exit.
  • <commamd> | less if you are in a regular bash terminal
Related Question