Skip to main content
added demo and instructions for color
Source Link

I've had success getting basic paging by piping content to more, for example:

ls -l | more 

Or, if you want color output for use cases like syntax highlighting, you can use

ls -l --color=always | more 

This results in output that I can easily page through one screen at a time. I haven't tried @uther's modification to ~/.screenrc but that does seem preferable as a lasting solution when a mouse is available.

To try this out, you can go to this BusyBox emulator and then...

cd ~/bin ls -l --color=always | more 

Use the spacebar to page through the results of the ls -l command or use the enter key to move through results line by line.

I've had success getting basic paging by piping content to more, for example:

ls -l | more 

This results in output that I can easily page through one screen at a time. I haven't tried @uther's modification to ~/.screenrc but that does seem preferable as a lasting solution when a mouse is available.

I've had success getting basic paging by piping content to more, for example:

ls -l | more 

Or, if you want color output for use cases like syntax highlighting, you can use

ls -l --color=always | more 

This results in output that I can easily page through one screen at a time. I haven't tried @uther's modification to ~/.screenrc but that does seem preferable as a lasting solution when a mouse is available.

To try this out, you can go to this BusyBox emulator and then...

cd ~/bin ls -l --color=always | more 

Use the spacebar to page through the results of the ls -l command or use the enter key to move through results line by line.

Source Link

I've had success getting basic paging by piping content to more, for example:

ls -l | more 

This results in output that I can easily page through one screen at a time. I haven't tried @uther's modification to ~/.screenrc but that does seem preferable as a lasting solution when a mouse is available.