LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   scrolling / pageup in terminal (https://www.linuxquestions.org/questions/linux-general-1/scrolling-pageup-in-terminal-520224/)

briemac 01-17-2007 12:58 PM

scrolling / pageup in terminal
 
Ok so I know to scroll up in the terminal is shift pageUp, but my terminal says it cannot exceed 500 lines (Or something around there; I have 1200 lines, I can't see all of them). Is there another way to see everything or to jump to the beginning so I can scroll down??? Thanks.

PatrickNew 01-17-2007 01:03 PM

try
Code:

[the command] | less
that lets you read the output like a text file with less.

briemac 01-17-2007 01:04 PM

huh?
 
Ok nvm...I'll just print it out. Because ur explanation didn't really make any sense. Thanks anyway.

MOS JEFF-INITELY 01-17-2007 01:17 PM

use:

more <filename>

this lets you read the file from top to bottom, page by page in the console. It opens the file starting from the first line until the end of the console window. To read more of the file you can read another page by pressing <spacebar> to read line by line use <return> or <enter> which ever you prefer to call it.

for more information on this command or the `less` command which is similar, you should use the man pages.

man more
man less

ease-e

PatrickNew 01-17-2007 04:26 PM

you just type what I typed literally, replacing "[the command]" with your command. This will let you scroll up and down through the output.


All times are GMT -5. The time now is 05:01 AM.