is it there any way to scroll up and view the contents of text mode?I was trying to view all the files listed as part of my directory

I can scrollup and view the output of text mode,any way to scroll up and view the output?

5

2 Answers

What I've always done is pipe it with the less command. For example ls | less. Once you do this you can go backwards a single line by pressing the Y key, or backwards N lines by pressing U. And of course you can advance forward a single line by pressing Enter, or Space to advance multiple lines.

For more info on less check out man less.

Many terminals, whether the bare console or in a window manager, will let you scroll vertically with Shift-PgUp and Shift-PgDn.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy